CMake Command Reference

Qt6::Core

qt_add_big_resources

Compiles big binary resources into object code

qt_add_binary_resources

Creates an RCC file from a list of Qt resource files

qt_add_executable

Creates and finalizes an application target of a platform-specific type

qt_add_resources

Compiles binary resources into source code

qt_android_add_apk_target

Defines a build target that runs androiddeployqt to produce an APK

qt_android_apply_arch_suffix

Configures the target binary's name to include an architecture-specific suffix

qt_android_generate_deployment_settings

Generates the deployment settings file needed by androiddeployqt

qt_finalize_executable

Handles various common platform-specific tasks associated with Qt targets

qt_generate_moc

Calls moc on an input file

qt_import_plugins

Specifies a custom set of plugins to import for a static Qt build

qt_wrap_cpp

Creates .moc files from sources

Qt6::DBus

qt_add_dbus_adaptor

Generates an adaptor class for a D-Bus interface

qt_add_dbus_interface

Generates C++ sources implementing an interface for a D-Bus interface description file

qt_add_dbus_interfaces

Generates C++ sources implementing interfaces for D-Bus interface description files

qt_generate_dbus_interface

Generates a D-Bus interface from a header file

Qt6::LinguistTools

qt_add_translation

Compiles Qt Linguist .ts files into .qm files

qt_create_translation

Sets up the Qt Linguist translation toolchain

Qt6::RemoteObjects

Qt6::Widgets

qt_wrap_ui

Creates sources for .ui files

© 2021 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.