Qt World Summit: Register Today!

[SOLVED] iOS force landscape

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



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

  • This post is deleted!

Log in to reply