On 13/05/2010, at 9:55 PM, ext Helio Chissini de Castro wrote:
> As the calculator sample shows ( in demos/declarative ), to deal with 
> rotation 
> state it uses the runtime object.
> 
> This is valid when we are running from qml runtime launcher, but when we are 
> using a C++ app with embedded qml, the runtime object not exists anymore.
> 
> What is the proper way to deal with rotation in such case ?

One option is to use QOrientationSensor from Qt Mobility (the Qt Mobility 
release includes an example showing usage from QML).

Regards,
Michael
_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to