View Single Post
Posts: 182 | Thanked: 84 times | Joined on Jul 2010 @ Jordan
#344
plz watch this !!!http://webcache.googleusercontent.co...=www.google.jo



"How to rotate the screen orientation? - Today 03:47 #1
Napolean_Huang
Registered User
Join Date
Jul 2009
Posts
1
I am newer to develop qt program on MeeGo 1.2 Harmattan in Nokia N950 (Version:1.2011.15-5_PR_RM680). I found I can't display my hello world sample as portrait orientation, the screen always displays landscape orientation.

Here is the code:
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::Screen OrientationLockPortrait);
viewer.setMainQmlFile(QLatin1String("qml/dzhqt/main.qml"));
viewer.showExpanded();

Does anyone know the reason? I really appreciate who can explain this issue.
Thanks!"

from forum.nokia.com
 

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