View Single Post
Posts: 13 | Thanked: 20 times | Joined on Feb 2010 @ Chambana
#5
Originally Posted by xerxes2 View Post
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
 

The Following User Says Thank You to mtrower2 For This Useful Post: