[Qt-qml] Orientation is always landscape on N9

Artem Marchenko artem.marchenko at gmail.com
Mon Oct 24 10:17:28 CEST 2011


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.liang at nokia.com> <david.zhang.liang at 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 at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20111024/6cfc9fbb/attachment.html 


More information about the Qt-qml mailing list