Qt6 核心中的 CMake 变量
下列 CMake 变量在加载 Qt6::Core 时定义,例如用
find_package(Qt6 REQUIRED COMPONENTS Core)
另请参阅 CMake 变量参考。
主机系统的 Android 特定架构。 | |
Android SDK 的位置。 | |
为项目包构建的 ABI 列表。 | |
传递给 Android 应用程序的参数列表。 | |
启用使用自动检测到的 Qt for Android SDK 列表构建多 ABI 软件包。 | |
强制或禁用发布软件包签名,与构建类型无关。 | |
支持生成基于 QtQuickViewContent 的类。 | |
允许在多重ABI 构建中共享 CMake 变量。 | |
使用指定的密钥存储、别名和存储密码签署 .aab 软件包。 | |
使用指定的密钥存储、别名和存储密码签署软件包。 | |
前缀相关子目录,用于在某些目标平台上部署运行时二进制文件。 | |
从运行时依赖关系搜索中排除的目录 | |
前缀相关子目录,用于在某些目标平台上部署程序可执行文件。 | |
前缀相关子目录,用于在某些目标平台上部署库。 | |
前缀相关子目录,用于在某些目标平台上部署 Qt 插件。 | |
部署的基本位置。 | |
前缀相关子目录,用于在某些目标平台上部署 QML 插件。 | |
为设置部署支持而包含的文件名。 | |
前缀相关子目录,用于在某些目标平台上部署 Qt 翻译。 | |
启用部署工具的详细说明模式。 | |
交叉编译时主机 Qt 安装的位置。 | |
指定可翻译字符串的语言。 | |
用于项目国际化的语言列表。 | |
所有目标均使用的 iOS 启动屏幕故事板路径。 | |
防止在 Android 部署期间收集项目构建的共享库目标。 | |
防止在 Android 部署期间收集导入的目标。 | |
禁止在 iOS 目标最终确定期间提供后备应用程序捆绑包 ID。 | |
禁止在 iOS 上的目标最终确定过程中提供后备团队 ID。 | |
防止后续调用 qt_standard_project_setup() 进行任何更改。 | |
一组变量,用于指定相应 ABI 的 Qt for Android 路径。 | |
启用每个目标的 Android 编译目录。 |
© 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.