From 3b234eefefea121ad226c3e6f859f244fa75fe72 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 27 Mar 2023 08:56:34 +0200 Subject: [PATCH] Doc: Clarify what's deployed by qt_deploy_runtime_dependencies Mention that non-Qt libraries are deployed on Linux. Pick-to: 6.5 Task-number: QTBUG-111741 Change-Id: Ia5737d7a2d53925939910b5f96933f4bb380ed05 Reviewed-by: Alexandru Croitor Reviewed-by: Alexey Edelev --- .../doc/src/cmake/qt_deploy_runtime_dependencies.qdoc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 ec03eba706..2eac3f3199 100644 --- a/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc +++ b/src/corelib/doc/src/cmake/qt_deploy_runtime_dependencies.qdoc @@ -54,8 +54,12 @@ When installing an application, it may be desirable to also install the libraries and plugins it depends on. When the application is a macOS app bundle or a Windows executable, \c{qt_deploy_runtime_dependencies()} can be called from an install-time script to deploy those dependencies. It will install -non-system libraries (both Qt and those provided by the project), plus an -appropriate set of Qt plugins. +non-system Qt libraries plus an appropriate set of Qt plugins. + +On Linux, the command will deploy additional libraries, beyond just those +related to Qt, that are included with the project. However, when executed on +macOS or Windows, the command will use either \c macdeployqt or \c windeployqt, +which will only deploy libraries that are specific to Qt. This command only considers runtime dependencies for which linking relationships exist in the underlying binaries. It does not deploy QML modules,