OrientationLock: PageOrientation.LockPortrait does not work in Meamo Emulator.
-
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.