CMake Variables in Qt6 Core

The following CMake variables are defined when Qt6::Core is loaded, for instance with

find_package(Qt6 REQUIRED COMPONENTS Core)

See also CMake Variable Reference.

ANDROID_NDK_HOST_SYSTEM_NAME

Android-specific architecture of the host system.

ANDROID_SDK_ROOT

Location of the Android SDK.

QT_ANDROID_ABIS

List of ABIs that the project packages are built for.

QT_ANDROID_APPLICATION_ARGUMENTS

List of arguments to pass to Android applications.

QT_ANDROID_BUILD_ALL_ABIS

Enables building multi-ABI packages using the autodetected Qt for Android SDK list.

QT_ANDROID_DEPLOYMENT_TYPE

Forces or disables release package signing regardless of the build type.

QT_ANDROID_MULTI_ABI_FORWARD_VARS

Allows to share CMake variables in multi-ABI builds.

QT_ANDROID_SIGN_AAB

Signs the .aab package with the specified keystore, alias, and store password.

QT_ANDROID_SIGN_APK

Signs the package with the specified keystore, alias, and store password.

QT_DEPLOY_BIN_DIR

Prefix-relative subdirectory for deploying runtime binaries on some target platforms.

QT_DEPLOY_IGNORED_LIB_DIRS

Directories that are excluded from runtime dependencies search

QT_DEPLOY_LIBEXEC_DIR

Prefix-relative subdirectory for deploying program executables on some target platforms.

QT_DEPLOY_LIB_DIR

Prefix-relative subdirectory for deploying libraries on some target platforms.

QT_DEPLOY_PLUGINS_DIR

Prefix-relative subdirectory for deploying Qt plugins on some target platforms.

QT_DEPLOY_PREFIX

Base location for a deployment.

QT_DEPLOY_QML_DIR

Prefix-relative subdirectory for deploying QML plugins on some target platforms.

QT_DEPLOY_SUPPORT

Name of the file to include for setting up deployment support.

QT_DEPLOY_TRANSLATIONS_DIR

Prefix-relative subdirectory for deploying Qt translations on some target platforms.

QT_ENABLE_VERBOSE_DEPLOYMENT

Enables verbose mode of deployment tools.

QT_HOST_PATH

Location of the host Qt installation when cross-compiling.

QT_I18N_SOURCE_LANGUAGE

Specifies the language of translatable strings.

QT_I18N_TRANSLATED_LANGUAGES

List of languages to be used for project internationalization.

QT_IOS_LAUNCH_SCREEN

Path to iOS launch screen storyboard used by all targets.

QT_NO_COLLECT_BUILD_TREE_APK_DEPS

Prevents collecting of project-built shared library targets during Android deployment.

QT_NO_COLLECT_IMPORTED_TARGET_APK_DEPS

Prevents collecting of imported targets during Android deployment.

QT_NO_SET_XCODE_BUNDLE_IDENTIFIER

Disables providing a fallback app bundle ID during target finalization on iOS.

QT_NO_SET_XCODE_DEVELOPMENT_TEAM_ID

Disables providing a fallback team ID during target finalization on iOS.

QT_NO_STANDARD_PROJECT_SETUP

Prevents subsequent calls to qt_standard_project_setup() from making any changes.

QT_PATH_ANDROID_ABI_<ABI>

Set of variables to specify the path to Qt for Android for the corresponding ABI.

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