Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39554

Lock Screen Rotation for specific QML pages or programmatically lock/unlock screen orientation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.3.0
    • QPA
    • None
    • iOS/tvOS/watchOS

    Description

      There should be a way to lock the screen rotation for particular pages/screens and not just for the whole app. i.e. I should be able to lock/change the screen orientation from any QML or C++ file for however long is needed then unlock/change back when finished.

      Specific example, I have a QML page for taking a picture. I need to be able to lock it to an orientation and then just rotate the icons when they rotate the phone instead of the whole gui rotating. But the rest of the app does not need to be orientation locked.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              esabraha Eskil Abrahamsen Blomfeldt
              jp36 James Pettitt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes