[maemo-developers] How to force landscape mode in Qt 4.6.2?

From: Sascha Mäkelä sascha.makela at gmail.com
Date: Tue Jun 8 11:37:13 EEST 2010
Hi,

In my app I have setAttribute(Qt::WA_Maemo5AutoOrientation, true) in the
main.cpp. The auto orientation works fine. However, I have some stacked
windows that I want to display only in landscape. I've tried using
setAttribute(Qt::WA_Maemo5LandscapeOrientation,
true) when creating the window or in the window it self, but it doesn't seem
to have any effect. How can I force some of the windows to be only
landscape?


Cheers,

Sascha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.maemo.org/pipermail/maemo-developers/attachments/20100608/0481e316/attachment.htm>
More information about the maemo-developers mailing list