Hi David What I used lately on Harmattan for locking one particular page in portrait is Page's orientationLock property:
orientationLock: PageOrientation.LockPortrait BR, Artem. On Oct 24, 2011, at 10:13 AM, <david.zhang.li...@nokia.com> <david.zhang.li...@nokia.com> wrote: > Hi, > > When I tried to deploy a QtQuick application to N9, the orientation is always > landscape (even > withviewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockPortrait);). > > I know the “PageStackWindow” works but I don’t want to use Harmantan widgets > and wants my app to work on both N9, Desktop and Symbian. > > Are any ways of correcting that problem? > > Thanks. > > David > _______________________________________________ > Qt-qml mailing list > Qt-qml@qt.nokia.com > http://lists.qt.nokia.com/mailman/listinfo/qt-qml
_______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml