Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to force Windows Phone App landscape using Qt 5.4 for Win RT?
Forum Updated to NodeBB v4.3 + New Features

How to force Windows Phone App landscape using Qt 5.4 for Win RT?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 1.1k Views 2 Watching
  • 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.
  • J Offline
    J Offline
    jiangcaiyang
    wrote on last edited by
    #1

    As the title implies, I've ported my mobile game to Windows Phone, and want to know how force Windows Phone App landscape. In Android it is by explicitly setting the "orientation" XML variable in AndroidManifest.xml.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jseeQt
      wrote on last edited by
      #2

      This can be done through the "Package.appxmanifest". Open this file in Visual Studio, go to the tab "Application" and than check "Landscape" as supported rotation.
      !http://i.imgur.com/Isou3JU.png(Visual Studio)!

      K 1 Reply Last reply
      0
      • J jseeQt

        This can be done through the "Package.appxmanifest". Open this file in Visual Studio, go to the tab "Application" and than check "Landscape" as supported rotation.
        !http://i.imgur.com/Isou3JU.png(Visual Studio)!

        K Offline
        K Offline
        kmbar2013
        wrote on last edited by
        #3

        @jseeQt Do you know how to do so for a surface pro?

        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