Important: Please read the Qt Code of Conduct -

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: mainApplicationWindow

    initialPage: 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.

Log in to reply