CMake Command Reference
Qt6::Core
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 | |
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 |
Qt6::DBus
Generates an adaptor class for a D-Bus interface | |
Generates C++ sources implementing an interface for a D-Bus interface description file | |
Generates C++ sources implementing interfaces for D-Bus interface description files | |
Generates a D-Bus interface from a header file |
Qt6::InterfaceFramework
Adds a plugin target which is generated by ifcodegen using a qface IDL file | |
Adds a QML module which is generated by ifcodegen using a qface IDL file | |
Extends a target with files generated from a qface IDL file | |
Generates files from a qface IDL file | |
Generates files from a qface IDL file and provides variables for use within CMake | |
Sets the variable to the given value within an ifcodegen template |
Qt6::LinguistTools
Add targets to transform Qt Linguist .ts files into .qm files | |
Add targets to generate or update Qt Linguist .ts files | |
Compiles Qt Linguist .ts files into .qm files | |
Add targets to update and transform Qt Linguist .ts files into .qm files | |
Collects targets that are eligible for translation | |
Sets up the Qt Linguist translation toolchain |
Qt6::Protobuf
Generates Qt-based C++ source code using a protobuf schema |
Qt6::Grpc
Generates Qt-based C++ services using a protobuf schema |
Qt6::Qml
Defines a QML module | |
Defines a plugin associated with a QML module | |
Deploy the runtime components of QML modules needed by an executable | |
Generate a deployment script for a QML application | |
Registers types from one target in a QML module | |
Ensures QML plugins needed by a target are imported for static builds | |
Retrieve information about a QML module | |
Add qml files and resources to an existing QML module target |
Qt6::RemoteObjects
Creates C++ header files for source and replica types from the Qt Remote Objects .rep files | |
Creates C++ header files for replica types from the Qt Remote Objects .rep files | |
Creates C++ header files for source types from the Qt Remote Objects .rep files | |
Creates .rep files from the QObject header files |
Qt6::Scxml
Qt6::ShaderTools
Compiles shaders and adds them to a Qt resource |
Qt6::Widgets
Creates sources for .ui files |
Qt6::WebEngineCore
Converts the hunspell dictionary format into bdict binary format |
© 2024 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.