QT_ANDROID_DEPLOYMENT_TYPE

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

This variable was introduced in Qt 6.7.

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

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

当设为 Release --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.

另请参阅 androiddeployqt .