PDA

View Full Version : QML page - Lock orientation of the phone



SeN
23rd December 2010, 19:53
Hi - I'm developing a QML app for Symbian (Qt4.7.1). I'm loading my QML pages dynamically, as follows:

function loadPage(qmlFileString) {
//console.log("Load Page:"+ qmlFileString)
var loadedComponent = Qt.createComponent(qmlFileString);
if (loadedComponent.status == Component.Ready) {
var loadedPage = loadedComponent.createObject(mainRectangle);
}
}

I was wondering if there's a possibility to lock the orientation of the phone screen for specific QML pages?

Thanks!

huluyige
19th April 2011, 17:45
Hi,I've got the same problem. no one has ideas?