[Qt-qml] Orientation is always landscape on N9

Yuvraaj Kelkar yuvraaj at gmail.com
Mon Oct 24 09:15:44 CEST 2011


I created a "HMain.qml" that uses my "Main.qml" as a page.
Then I conditionally compiled in code that will load HMain for
Harmattan and Main for everything else.
Worked well enough for me.

On Mon, Oct 24, 2011 at 12:13 AM,  <david.zhang.liang at nokia.com> wrote:
> Hi,
>
>
>
> When I tried to deploy a QtQuick application to N9, the orientation is
> always landscape (even with
> viewer.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
>
>


More information about the Qt-qml mailing list