- Qt 6.9
- Qt Core
- CMake Variables in Qt6 Core
- QT_ANDROID_DEPLOYMENT_TYPE
- Qt 6.9.2 Reference Documentation

# QT_ANDROID_DEPLOYMENT_TYPE

Forces or disables release package signing regardless of the build type.

This variable was introduced in Qt 6.7.

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

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

When set to `Release`, the `--release` flag is passed to the `androiddeployqt` tool, regardless of the application build type. When set to another value, the `--release` flag is never passed to the tool, which effectively disables release package signing even in Release or RelWithDebInfo builds. When not set, the default behavior is to use release package signing in build types other than Debug.

See also androiddeployqt.