CMake Variables in Qt6 Core

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

find_package(Qt6 COMPONENTS Core REQUIRED)

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_APPLICATION_ARGUMENTS

List of arguments to pass to Android applications.

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.

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