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,  <[email protected]> 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
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to