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. Force app into Landscape?
Forum Updated to NodeBB v4.3 + New Features

Force app into Landscape?

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
landscapelayout
2 Posts 2 Posters 1.1k Views
  • 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
    dflass
    wrote on last edited by
    #1

    Hello.
    So, I got my app working on the iPad.
    Unfortunately it looks really great in landscape and dreadful in portrait.
    Is there some way to force it so that the app will not rotate when the ipad is rotated and will remain in landscape mode?
    Thanks

    raven-worxR 1 Reply Last reply
    0
    • D dflass

      Hello.
      So, I got my app working on the iPad.
      Unfortunately it looks really great in landscape and dreadful in portrait.
      Is there some way to force it so that the app will not rotate when the ipad is rotated and will remain in landscape mode?
      Thanks

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by raven-worx
      #2

      @dflass
      someone please correct me if i am wrong, but i believe there is no Qt way of doing this. This has to be done in natively using mobile platform's capabilities.
      On android this would be altering the manifest file, on iOS i think you need to overrride UINavigationController. See this and this.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      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