定义下列 CMake 命令,当加载 Qt6::Core 时,例如采用
find_package(Qt6 REQUIRED COMPONENTS Core)
另请参阅 CMake 命令参考 .
| 将大二进制资源,编译进目标代码。 | |
| Creates an RCC file from a list of Qt resource files. | |
| Creates and finalizes an application target of a platform-specific type. | |
| 创建并定稿库。 | |
| 创建 Qt 插件目标。 | |
| 将二进制资源编译进源代码。 | |
| 防止强制将源文件视为 UTF-8 for Windows。 | |
| Defines a build target that runs androiddeployqt to produce an APK. | |
| Configures the target binary's name to include an architecture-specific suffix. | |
| Generates the deployment settings file needed by androiddeployqt. | |
| Write a qt.conf file at deployment time. | |
| Deploy Qt plugins, Qt and non-Qt libraries needed by an executable. | |
| Deploy Qt translations needed by an executable. | |
| Prevents some unicode-related compiler definitions being set automatically on a target. | |
| Extracts metatypes from a Qt target and generates an associated metatypes.json file. | |
| Handles various common platform-specific tasks associated with a Qt project. | |
| Handles various common platform-specific tasks associated with Qt targets. | |
| Generate a deployment script for an application. | |
| Generate a custom deployment script. | |
| 调用输入文件中的 MOC (元对象编译器)。 | |
| 指定要导入 (或排除) 的自定义插件集。 | |
| Modify the default behavior of Qt's CMake API. | |
| Customizes aspects of a target's finalization. | |
| Setup project-wide defaults to a standard arrangement. | |
| Creates .moc files from sources. |