QT_USE_TARGET_ANDROID_BUILD_DIR
启用按目标划分的 Android 构建目录。
该变量自 Qt 6.7 起引入。
注意:此 变量目前处于技术预览阶段,未来版本中可能会发生变化。
注意: 仅当目标平台为 Android 时,才使用此 变量。
该变量会在 android-build 目录后附加目标平台专用的后缀。只有在通过 `CACHE` 设置该变量时,它才会生效。该变量仅由 13 版及更高版本的Qt Creator 支持。如果单个CMakeLists.txt 包含多个 Android 可执行文件,且未设置此选项,则会显示警告。要禁用该警告,请将 `QT_SKIP_ANDROID_BUILD_DIR_CHECK ` 设置为 `TRUE`。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.