diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-09-06 10:50:12 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2022-09-15 12:55:23 +0200 |
commit | 514027f43fa526103da548f86d647ac33e288474 (patch) | |
tree | 7de189e7dec955404083787e1cda4ecd34cc0276 /src/corelib/doc/src | |
parent | 1b5462c2acc2a543a41fd0a6a9d15df43e139fbc (diff) |
CMake: Add NO_TRANSLATIONS option to deployment functions
Add the NO_TRANSLATIONS option to qt_deploy_runtime_dependencies and
qt_generate_deploy_app_script. On Windows and Linux, this option
prevents the deployment of Qt translations.
[ChangeLog][CMake] Added the NO_TRANSLATIONS option to
qt_deploy_runtime_dependencies and qt_generate_deploy_app_script.
Change-Id: I9d8435e262e2ff6c7242760ddb189473af850476
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/doc/src')
-rw-r--r-- | src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc | 6 | ||||
-rw-r--r-- | src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc b/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc index f199e62594..16e3672b19 100644 --- a/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc +++ b/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc @@ -38,6 +38,7 @@ qt_deploy_runtime_dependencies( [VERBOSE] [NO_OVERWRITE] [NO_APP_STORE_COMPLIANCE] + [NO_TRANSLATIONS] ) \endcode @@ -113,6 +114,11 @@ By default, if \c{executable} is a macOS app bundle, only Qt plugins and Qt libraries that comply with Apple's app store requirements are deployed. The \c{NO_APP_STORE_COMPLIANCE} option can be given to disable that constraint. +On platforms other than macOS, Qt translations are automatically deployed. To +inhibit this behavior, specify \c{NO_TRANSLATIONS}. Use +\l{qt6_deploy_translations}{qt_deploy_translations} to deploy translations in a +customized way. + \sa {qt6_generate_deploy_app_script}{qt_generate_deploy_app_script()}, qt_deploy_qt_conf(), qt_deploy_qml_imports() diff --git a/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc b/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc index 8d059f4c86..f156db17c9 100644 --- a/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc +++ b/src/corelib/doc/src/cmake/qt_generate_deploy_app_script.qdoc @@ -22,6 +22,7 @@ qt_generate_deploy_app_script( TARGET target FILENAME_VARIABLE var_name + [NO_TRANSLATIONS] [NO_UNSUPPORTED_PLATFORM_ERROR] ) \endcode @@ -59,6 +60,11 @@ scenarios, are not currently supported. Calling \c{qt_generate_deploy_app_script()} in such a case will result in a fatal error, unless the \c{NO_UNSUPPORTED_PLATFORM_ERROR} option is given. +On platforms other than macOS, Qt translations are automatically deployed. To +inhibit this behavior, specify \c{NO_TRANSLATIONS}. Use +\l{qt6_deploy_translations}{qt_deploy_translations} to deploy translations in a +customized way. + For deploying a QML application, use \l{qt6_generate_deploy_qml_app_script}{qt_generate_deploy_qml_app_script()} instead. |