Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. OrientationLock: PageOrientation.LockPortrait does not work in Meamo Emulator.
Forum Update on Monday, May 27th 2025

OrientationLock: PageOrientation.LockPortrait does not work in Meamo Emulator.

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 1 Posters 2.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    thisisbhaskar
    wrote on last edited by
    #1

    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
        }
    }
    

    }
    @

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thisisbhaskar
      wrote on last edited by
      #2

      Just tried on the device, working well on the hardware. But does not work on QEMU.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved