From 055b020acbfdfcbd573ad08fc0b564a122f17074 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Tue, 13 Feb 2024 16:16:17 +0100 Subject: [PATCH] CMake: Fix custom QT_DEPLOY_QML_DIR on Windows The value of QT_DEPLOY_QML_DIR was never passed to windeployqt. Fixes: QTBUG-121881 Change-Id: I993793f74d84ccb0e7c2deb72b1e33e81692ecbb Reviewed-by: Alexandru Croitor (cherry picked from commit 527b9da5388a3cccb81706becbd8e40977d5db11) Reviewed-by: Qt Cherry-pick Bot (cherry picked from commit f224891038ceadfda09153f48a9de043cdebe791) (cherry picked from commit 208fb8b496a377e74648996a9c7d05e314704643) --- src/corelib/Qt6CoreDeploySupport.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/Qt6CoreDeploySupport.cmake b/src/corelib/Qt6CoreDeploySupport.cmake index 388ab5fd042..999708185ec 100644 --- a/src/corelib/Qt6CoreDeploySupport.cmake +++ b/src/corelib/Qt6CoreDeploySupport.cmake @@ -423,6 +423,7 @@ function(qt6_deploy_runtime_dependencies) --dir . --libdir "${arg_BIN_DIR}" # NOTE: Deliberately not arg_LIB_DIR --plugindir "${arg_PLUGINS_DIR}" + --qml-deploy-dir "${arg_QML_DIR}" ) if(NOT arg_NO_OVERWRITE) list(APPEND tool_options --force)