CMake Commands in Qt6 Core
The following CMake commands are defined when Qt6::Core is loaded, for instance with
find_package(Qt6 REQUIRED COMPONENTS Core)
See also CMake Command Reference.
| Adds an Android permission to the target executable. | |
| Compiles big binary resources into object code. | |
| Creates an RCC file from a list of Qt resource files. | |
| Creates and finalizes an application target of a platform-specific type. | |
| Creates and finalizes a library. | |
| Creates a Qt plugin target. | |
| Compiles binary resources into source code. | |
| Adds the Windows App SDK library to the application. | |
| Prevents forcing source files to be treated as 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. | |
| Calls moc on an input file. | |
| Specifies a custom set of plugins to import or exclude. | |
| 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. |