Important: Please read the Qt Code of Conduct -

Android - Set to True

  • When building an app for android, the AndroidManifest.xml has the following line:
    <meta-data android:name="" android:value="false"/>

    How do you set this value to true in the Qt project, so when the AndroidManifest.xml is generated during each build, it will have the value="true"?

    I can change the manifest by hand after building the project, and then running ant manually and installing the app manually, but that is cumbersome.


  • @Orby I finally figured this out.

    Go into project -> android build options -> Details on build android APK

    Click create templates, now you can edit that AndroidManifest.xml and set the option to true.