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. [SOLVED] iOS force landscape
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] iOS force landscape

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 1.4k 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.
  • D Offline
    D Offline
    Drew Potter
    wrote on last edited by Drew Potter
    #1

    Hello,

    SOLVED: Editing the Info.plist was enough to set the forced landscape mode.

    I am developing an App which is multi platform. I am trying to force the App to stay in Landscape mode on the iOS and Android versions, but I have no idea of how to implement this.

    My App is a Qt Quick application.

    Thanks,

    Drew

    1 Reply Last reply
    0
    • patrikdP Offline
      patrikdP Offline
      patrikd
      wrote on last edited by patrikd
      #2

      Hi Drew,
      for Android you have to add android:screenOrientation="landscape" to the <activity android:name="org.qtproject.qt5.android.bindings.QtActivity" tag.
      On iOS is the most simple way to add the landscape mode in the xcode settings.
      best,
      patrik

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kmbar2013
        wrote on last edited by
        #3
        This post is deleted!
        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