[maemo-developers] How to force landscape mode in Qt 4.6.2?
From: Kimmo Hämäläinen kimmo.hamalainen at nokia.comDate: Tue Jun 8 16:01:57 EEST 2010
- Previous message: How to force landscape mode in Qt 4.6.2?
- Next message: How to force landscape mode in Qt 4.6.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 2010-06-08 at 10:37 +0200, ext Sascha Mäkelä wrote: > 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? Could you check what xprop (in x11-utils package) shows about the window after setting this Qt::WA_Maemo5LandscapeOrientation? -Kimmo > > > > > Cheers, > > > Sascha
- Previous message: How to force landscape mode in Qt 4.6.2?
- Next message: How to force landscape mode in Qt 4.6.2?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]