- Qt 6.4
- Qt Core
- CMake Variables in Qt6 Core
- QT_ANDROID_SIGN_APK
- Qt 6.4.3 Reference Documentation

# QT_ANDROID_SIGN_APK

Sign the package with the specified keystore, alias and store password.

This variable was introduced in Qt 6.4.

Note: This variable is in technology preview and may change in future releases.

Note: This variable is used only if targeting the Android platform.

Sign the resulting package. The path of the keystore file, the alias of the key and passwords have to be specified by additional environment variables:

     QT_ANDROID_KEYSTORE_PATH
     QT_ANDROID_KEYSTORE_ALIAS
     QT_ANDROID_KEYSTORE_STORE_PASS
     QT_ANDROID_KEYSTORE_KEY_PASS

Mentioned variables are used internally by androiddeployqt.

See also androiddeployqt.