Doc: Address QT_DEPLOY_LIBEXEC_DIR issues from API review
Task-number: QTBUG-121708 Change-Id: I25a05fc26e9950a8b84770347dbcea1912832990 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit b8a78054cf540f082766b1a4d76e42426c1edff9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0869134212
commit
101846afa9
@ -104,15 +104,14 @@ should not be used for that scenario.
|
||||
|
||||
\include cmake-deploy-var-usage.qdocinc
|
||||
|
||||
\cmakevariablesince 6.8
|
||||
\cmakevariablesince 6.7
|
||||
|
||||
Projects should use \c QT_DEPLOY_LIBEXEC_DIR in their deploy scripts to avoid
|
||||
hard-coding a particular directory in which to deploy the following types of
|
||||
binaries:
|
||||
On Unix derivatives, projects should use \c QT_DEPLOY_LIBEXEC_DIR in their
|
||||
deploy scripts to avoid hard-coding a particular directory in which to deploy
|
||||
helper executables that are local to the project.
|
||||
|
||||
\list
|
||||
\li Helper executables that are local to the project on Unix derivatives.
|
||||
\endlist
|
||||
For example, projects using QtWebEngine would deploy the \c QtWebEngineProcess
|
||||
executable to this directory.
|
||||
|
||||
\c QT_DEPLOY_LIBEXEC_DIR defaults to the value of \c${CMAKE_INSTALL_LIBEXECDIR}
|
||||
(usually \c{libexec}), which is provided by CMake's \l{GNUInstallDirs} module.
|
||||
|
@ -2,6 +2,8 @@
|
||||
cmake_minimum_required(VERSION 3.16...3.22)
|
||||
project(MyThings)
|
||||
|
||||
# The following CMAKE_INSTALL_*DIR variables are used to initialize their
|
||||
# QT_DEPLOY_*_DIR counterparts.
|
||||
set(CMAKE_INSTALL_BINDIR "mybindir")
|
||||
set(CMAKE_INSTALL_LIBDIR "mylibdir")
|
||||
set(CMAKE_INSTALL_LIBEXECDIR "mylibexecdir")
|
||||
|
Loading…
x
Reference in New Issue
Block a user