diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-11-15 17:32:52 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2023-12-17 21:25:00 +0100 |
commit | 5722c674908166fd86a042cdc20157538c673061 (patch) | |
tree | 3382fa679acf38859459465a7ec5401de197ba55 /src/qml/doc/src | |
parent | 60e49dfbe3cf8276aabfcf7bf00dc532dea78baf (diff) |
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 <alexandru.croitor@qt.io>
Diffstat (limited to 'src/qml/doc/src')
-rw-r--r-- | src/qml/doc/src/cmake/qt_generate_deploy_qml_app_script.qdoc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |