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

WP: cannot change orientation of content when user explicit declare landscape in AppxManifest.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.5.0 Beta
    • 5.4.0
    • Build System
    • None
    • Windows 8.1
      Qt 5.4.0 for Windows RT
      Windows Phone 8.1
    • WinRT
    • 916cfed

      We know that force an application landscape on Windows Phone 8.1 we should follow the step like that:
      http://qt-project.org/forums/viewthread/50668/
      And to set this in AppxManifest.xml, we need to add the following configuration in AppxManifest.xml:

      <m3:InitialRotationPreference>
      <m3:Rotation Preference="landscape" />
      </m3:InitialRotationPreference>

      Now comes the question: when I set this configuration in AppxManifest.xml, and run my application on Windows Phone 8.1, the orientation of system is indeed landscape whereas the content of Qt Quick( or QML Window ) is not landscape. worse still any MouseArea in original relative position are becoming invalid.

        For Gerrit Dashboard: QTBUG-43502
        # Subject Branch Project Status CR V

            andrew.knight Andrew Knight
            jiangcaiyang Jiang Yimin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes