Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
6.4.0 Beta2
-
None
-
MacOS 12.5, Qt6.4.0b2, cmake 3.24.0
-
-
042290d0fb (qt/qtbase/dev) 042290d0fb (qt/tqtc-qtbase/dev) d052236a2f (qt/qtbase/6.4) d052236a2f (qt/tqtc-qtbase/6.4)
Description
I have a cmake project that creates an Android app from the command line (without Qt Creator). That works fine.
Signing the apk is possible using QT_ANDROID_SIGN_APK and setting the environment variables QT_ANDROID_KEYSTORE_PATH, QT_ANDROID_KEYSTORE_ALIAS, QT_ANDROID_KEYSTORE_STORE_PASS, QT_ANDROID_KEYSTORE_KEY_PASS. That works fine on the *_make_apk target.
I now was trying to sign the generated Android Application Bundle (aab) on the *_make_aab target. This does not work.
IMHO, the problem is that in Qt6AndroidMacros.cmake the "add_custom_target(${target}_make_aab ..." does not add ${sign_apk} to the androiddeployqt call (as it is done in the *_make_apk targets).
Attachments
Issue Links
- resulted in
-
QTBUG-105575 androiddeployqt fails when signing a debug build
- Reported
For Gerrit Dashboard: QTBUG-105529 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
426158,4 | CMake: Add QT_ANDROID_SIGN_AAB variable | dev | qt/qtbase | Status: MERGED | +2 | 0 |
426555,2 | CMake: Add QT_ANDROID_SIGN_AAB variable | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |