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.
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.
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 Qt targets.
Calls moc on an input file.
Specifies a custom set of plugins to import for a static Qt build.
Customizes aspects of a target's finalization.
Creates .moc files from sources.
© 2023 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.