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_DEPLOY_BIN_DIR

Prefix-relative subdirectory for deploying runtime binaries 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_ENABLE_VERBOSE_DEPLOYMENT

Enables verbose mode of deployment tools

QT_HOST_PATH

Location of the host Qt installation when cross-compiling.

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.

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