CMake Property Reference

Qt6::Core

Target Properties

QT_ANDROID_ABIS

List of ABIs that packages of a single target are built for

QT_ANDROID_DEPLOYMENT_DEPENDENCIES

Overrides the Qt dependencies added to the target's deployment

QT_ANDROID_DEPLOYMENT_SETTINGS_FILE

Specifies the location of a target's generated deployment settings file

QT_ANDROID_EXTRA_LIBS

Extra libraries to deploy with the target

QT_ANDROID_EXTRA_PLUGINS

Extra Qt plugins to deploy with the target

QT_ANDROID_MIN_SDK_VERSION

Minimum Android SDK version

QT_ANDROID_NO_DEPLOY_QT_LIBS

Whether Qt shared libraries are packaged in the APK on Android

QT_ANDROID_PACKAGE_SOURCE_DIR

Path to a custom Android package template

QT_ANDROID_SDK_BUILD_TOOLS_REVISION

Revision of Android build tools to use

QT_ANDROID_SYSTEM_LIBS_PREFIX

Specifies the location of Qt libraries on the target device

QT_ANDROID_TARGET_SDK_VERSION

Android target SDK version

QT_ANDROID_VERSION_CODE

Internal Android app version

QT_ANDROID_VERSION_NAME

Human-readable Android app version

QT_IOS_LAUNCH_SCREEN

Path to iOS launch screen storyboard

QT_NO_UTF8_SOURCE

Prevents forcing source files to be treated as UTF-8 for Windows

QT_QML_IMPORT_PATH

Specifies a list of directories to search for QML imports

QT_QML_ROOT_PATH

Overrides the location of the application's qml directory

QT_RESOURCE_PREFIX

Specifies the default Qt resource prefix

QT_WASM_INITIAL_MEMORY

Internal WebAssembly initial memory

QT_WASM_PTHREAD_POOL_SIZE

Internal WebAssembly thread pool size

qt_no_entrypoint

Specifies to inhibit linking against Qt's entrypoint lib

Source File Properties

QT_RESOURCE_ALIAS

Specifies the Qt resource alias for a file in a resource

Global Properties

QT_TARGETS_FOLDER

Sets the FOLDER property for Qt-internal targets

Qt6::DBus

Source File Properties

CLASSNAME

Overrides the default interface class name

INCLUDE

Adds an include path

NO_NAMESPACE

Disables generation of a namespaced name

Qt6::Qml

Source File Properties

QT_QMLTC_FILE_BASENAME

Specifies a non-default .h and .cpp file name

QT_QML_INTERNAL_TYPE

Marks a QML file as providing an internal type

QT_QML_SINGLETON_TYPE

Marks a QML file as providing a singleton type

QT_QML_SKIP_CACHEGEN

Excludes a file from being compiled to byte code

QT_QML_SKIP_QMLDIR_ENTRY

Excludes a file from being added as a type to the QML module's typeinfo file

QT_QML_SKIP_QMLLINT

Prevents a file from being included in automatic qmllint processing

QT_QML_SKIP_TYPE_COMPILER

Excludes a file from being compiled to C++ using qmltc

QT_QML_SOURCE_TYPENAME

Overrides the type name provided by the file

QT_QML_SOURCE_VERSIONS

Specifies a custom set of versions for a type

Global Properties

QT_QMLLINTER_TARGETS_FOLDER

Sets the FOLDER property for targets that belong to the QML linter

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