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
- depends on
-
QTCREATORBUG-28972 Make Qt Creator respect Gradle's product flavors names
- Reported
-
QTBUG-77172 Make androiddeployqt respect gradle's productFlavors options, which lead to failure of zipalign invokation
- Open
-
QTBUG-97756 Unable to sign android package with custom name
- Open
-
QTCREATORBUG-25325 Make APK name configurable from Qt Creator
- Reported