- Qt 6.6
- Qt Core
- CMake Variables in Qt6 Core
- Qt 6.6.1 Reference Documentation

# 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_DEPLOY_RELEASE | Sets the package type as a release.
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_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_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.