From 5722c674908166fd86a042cdc20157538c673061 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Wed, 15 Nov 2023 17:32:52 +0100 Subject: CMake: Add a way to pass additional arguments to win/macdeployqt [ChangeLog][CMake] Added the DEPLOY_TOOL_OPTIONS argument to the function qt_generate_deploy_qml_app_script. It doesn't make sense to map every option of the deployment tools to arguments in our CMake deployment API. Allow the user to specify extra arguments to windeployqt or macdeployqt. Task-number: QTBUG-116551 Change-Id: Ib2589548492fdfb4b44ed7241275567c4bd48f2f Reviewed-by: Alexandru Croitor --- src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/qml/doc') diff --git a/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc b/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc index 54fe977873..981a10dded 100644 --- a/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc +++ b/src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc @@ -25,6 +25,7 @@ qt_generate_deploy_qml_app_script( [NO_UNSUPPORTED_PLATFORM_ERROR] [NO_TRANSLATIONS] [NO_COMPILER_RUNTIME] + [DEPLOY_TOOL_OPTIONS ...] [DEPLOY_USER_QML_MODULES_ON_UNSUPPORTED_PLATFORM] [MACOS_BUNDLE_POST_BUILD] [PRE_INCLUDE_REGEXES regexes...] @@ -103,6 +104,9 @@ customized way. For Windows desktop applications, the required runtime files for the compiler are also installed by default. To prevent this, specify \c{NO_COMPILER_RUNTIME}. +You can use \c{DEPLOY_TOOL_OPTIONS} to pass additional options to the underlying +deployment tool. + The options \c{PRE_INCLUDE_REGEXES}, \c{PRE_EXCLUDE_REGEXES}, \c{POST_INCLUDE_REGEXES}, \c{POST_EXCLUDE_REGEXES}, \c{POST_INCLUDE_FILES}, and \c{POST_EXCLUDE_FILES} can be specified to control the deployment of runtime -- cgit v1.2.3