Thread
:
Handling Screen Orientation with Qt
View Single Post
mtrower2
2011-06-24 , 15:37
Posts: 13 | Thanked: 20 times | Joined on Feb 2010 @ Chambana
#
5
Originally Posted by
xerxes2
Anyone knows how to force landscape mode?
Something like this (in main() before you show the form):
#ifdef Q_WS_MAEMO_5
w.setAttribute(Qt::WA_Maemo5LandscapeOrientation, true);
#endif
src:
http://doc.qt.nokia.com/qt-maemo/maemo5-rotation.html
Quote & Reply
|
The Following User Says Thank You to mtrower2 For This Useful Post:
xerxes2
mtrower2
View Public Profile
Send a private message to mtrower2
Find all posts by mtrower2