Nominate our 2022 Qt Champions!

Force app into Landscape?

  • 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?

  • Moderators

    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.

Log in to reply