Nominate our 2022 Qt Champions!

Set mobile device orientation by force. How?

  • Hello all!
    Is there any way to setup device orientation by force and keep it independent of real device orientation? Is there any example of this solution?

    Restriction by Info.plist or Android manifest is not OK for my issue. I need to restrict somehow orientation only for one screen that is stored in StackView.

    If I'm right - I need somehow to override the QML Engine redrawing process on event of OrientationChaged and for one screen lock on landscape. For another lock on portrait.

Log in to reply