OrientationLock: PageOrientation.LockPortrait does not work in Meamo Emulator.
QML and Qt Quick
2
Posts
1
Posters
2.8k
Views
1
Watching
-
Even with below code, my mainViewPage always stays in Landscape.. is there anything that I am missing..
I have tried this on Harmattan QEMU@
PageStackWindow {
id: mainApplicationWindowinitialPage: mainViewComponent Component { id: mainViewComponent Page { id: mainViewPage orientationLock: PageOrientation.LockPortrait MainMenu { onButtonPressed: openCalc(typeId) } tools: commonToolbarLayout } }
}
@ -
Just tried on the device, working well on the hardware. But does not work on QEMU.