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
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>
(cherry picked from commit c861f9acef70af5bdd317847fb6cfca79da3eb49)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Edelev 2023-11-02 15:30:56 +01:00 committed by Qt Cherry-pick Bot
parent a911438755
commit 3b562917b3

View File

@ -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.
*/
/*!