Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86887

Allow setting custom name for an Android apk

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5, 6.6.0 Beta1
    • None

    Description

      Add settings.gradle file to android-build with project name

      settings.gradle file can hold a project name property which is read by Android Studio. Adding this file to android-build would make it possible for Android Studio to show the correct project name when developing Qt for Android with Qt Creator developing for Qt code and Android Studio for Java code.

       

      Note: using this file will cause the final apk name to use the same name in that file, as part of this, QC should also be patched to allow that.

       

      Other option would be that Qt Creator have some feature to do the renaming at the end of build instead of relying on Gradle to do that automatically. However, that will work only for Qt Creator and won't work if the build is done outside of Qt Creator which is less favorable.

       

      This ticket can be seen as an umbrella for the general ability to set custom apk output name which can be set in many different ways, by Gradle and by the IDE, the tickets included are:

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtandroidteam Qt Android Team
              assam Assam Boudjelthia
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes