CMake: Fix custom QT_DEPLOY_TRANSLATIONS_DIR on Windows

Pick-to: 6.5 6.6 6.7
Fixes: QTBUG-121880
Change-Id: I7747253ae2671b2d417b25f0a98bc13871a661e2
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Joerg Bornemann 2024-02-13 16:23:44 +01:00
parent 527b9da538
commit dd970940ba

View File

@ -429,6 +429,7 @@ function(qt6_deploy_runtime_dependencies)
--libdir "${arg_BIN_DIR}" # NOTE: Deliberately not arg_LIB_DIR
--plugindir "${arg_PLUGINS_DIR}"
--qml-deploy-dir "${arg_QML_DIR}"
--translationdir "${QT_DEPLOY_TRANSLATIONS_DIR}"
)
if(NOT arg_NO_OVERWRITE)
list(APPEND tool_options --force)