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_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_MAXIMUM_MEMORY

Internal WebAssembly maximum 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_DISCARD_FILE_CONTENTS

Specifies that the given files should be empty in the resource file system

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

Qt6::LinguistTools

Target Properties

QT_EXCLUDE_FROM_TRANSLATION

Marks the target as excluded from translation

QT_EXCLUDE_SOURCES_FROM_TRANSLATION

List of source file paths that shall be excluded from translation

Directory Properties

QT_EXCLUDE_FROM_TRANSLATION

Marks the directory as excluded from translation