QT_USE_TARGET_ANDROID_BUILD_DIR
Enables the use of per-target Android build directories.
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.
The variable appends the target-specific suffix to the android-build directory. The variable only takes an effect when it's set in CACHE
. The variable is only supported by Qt Creator starting from version 13. If a single CMakeLists.txt
contains more than one Android executable and this option is not set, you will see a warning. To disable the warning, set QT_SKIP_ANDROID_BUILD_DIR_CHECK
to TRUE
.