QT_HOST_PATH

Location of the host Qt installation when cross-compiling.

This variable was introduced in Qt 6.0.

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 (moc, rcc, androiddeployqt, and so on). It's possible to reuse pre-installed tools when compiling Qt for host systems too, by using QT_HOST_PATH that points to a pre-installed host Qt and setting the QT_FORCE_FIND_TOOLS to ON. The Qt versions should match in this case.

© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.