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
。
© 2025 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.