QT_HOST_PATH

Local da instalação do Qt no host durante a compilação cruzada.

Essa variável foi introduzida no Qt 6.0.

Ao realizar a compilação cruzada, essa variável deve ser definida como o local de instalação do Qt para a plataforma anfitriã. Ela é usada para localizar as ferramentas a serem executadas no sistema anfitrião (moc, rcc, androiddeployqt etc.). Também é possível reutilizar ferramentas pré-instaladas ao compilar o Qt para sistemas anfitriões, usando ` QT_HOST_PATH `, que aponta para um Qt pré-instalado no anfitrião, e definindo ` QT_FORCE_FIND_TOOLS ` como ` ON`. Nesse caso, as versões do Qt devem ser compatíveis.

© 2026 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.