trying to create an app using pure qtquick qml and QtCreator 2.3.1 for N9/N950,
i used the wizard and selected portrait only but when i run the app on N950 its in landscape mode
the code inserted in the main.cpp viewer->setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape); doesnt seem to be working on Meego

I know that if i use Qt-components then i use the Page orientationlock property but i dont require the Qt-components so i dont think its usefull to import that entire lib for just portrait mode
(if Qt-component can do it then surely i can do it as well, just dont know how)


how can i fix this?