diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-11-02 15:30:56 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-11-02 21:14:10 +0100 |
commit | c861f9acef70af5bdd317847fb6cfca79da3eb49 (patch) | |
tree | 0114521d10678525396b6184b5dab99c6ff74c57 /src/corelib/doc | |
parent | 02c42b26e1ff94047657c4838128cb5b22d24d2b (diff) |
Mention QT_FORCE_FIND_TOOLS in QT_HOST_PATH
Document requirement of setting the QT_FORCE_FIND_TOOLS option to
ON to reuse the pre-installed Qt version when not cross-compiling.
Task-number: QTBUG-118211
Pick-to: 6.5 6.6
Change-Id: Ia02abeaede583ca01f10187158da0f4bc86f9d1a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/doc')
-rw-r--r-- | src/corelib/doc/src/cmake/cmake-configure-variables.qdoc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc index 12771bb10d..dd5800a411 100644 --- a/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc +++ b/src/corelib/doc/src/cmake/cmake-configure-variables.qdoc @@ -368,7 +368,10 @@ To disable this behavior, set this variable to \c TRUE. When cross-compiling, this variable must be set to the install location of Qt for the host platform. It is used to locate tools to be run on the host (\l{moc}, \l{rcc}, -\l{androiddeployqt}, and so on). +\l{androiddeployqt}, and so on). It's possible to reuse pre-installed tools +when compiling Qt for host systems too, by using \c QT_HOST_PATH that points to +a pre-installed host Qt and setting the \c QT_FORCE_FIND_TOOLS to \c ON. The Qt +versions should match in this case. */ /*! |