Hi, I am trying to determine the idiomatic way to support landscape and portrait modes a C++/QML app.
I have looked at the screenorientation example app but that relies on qmlviewer (runtime.orientation) and it looks like there is a lot of special code to handle orientation. A few questions: 1. Am I correct to assume that in a C++ app I would use the Qt Mobility Sensor API and Sensor QML Bindings instead of runtime.orientation? 2. As far as I can tell the sensor QML Bindings aren't release yet - is that correct? Any planned release date? 3. All the orientation-specific code in the screenorientation example looks like hard work to me considering that other mobile frameworks such as Android handle orientation automatically as long as you conform to the layout guidelines. Is the example the idiomatic way to support orientation in QML? I guess one alternative is to have entirely different QML layouts for each orientation type - the approach I think the Flickr demo uses - is this the recommended approach? Regards, Paul Drummond _______________________________________________ Qt-qml mailing list Qt-qml@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-qml