CMake Deployment Variables in Qt6 Core

The following CMake variables are available in deployment scripts, which are generated by qt_generate_deploy_script() and similar commands. They are not available when running CMake to configure a project.

See also CMake Variable Reference.

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_TRANSLATIONS_DIR

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