QT_HOST_PATH

Ubicación de la instalación de Qt en el equipo host durante la compilación cruzada.

Esta variable se introdujo en Qt 6.0.

Al realizar una compilación cruzada, esta variable debe establecerse en la ubicación de instalación de Qt para la plataforma de destino. Se utiliza para localizar las herramientas que se ejecutarán en la plataforma de destino (moc, rcc, androiddeployqt, etc.). También es posible reutilizar las herramientas preinstaladas al compilar Qt para sistemas de acogida, utilizando QT_HOST_PATH, que apunta a una instalación de Qt preinstalada en el sistema de acogida, y configurando la variable QT_FORCE_FIND_TOOLS en ON. En este caso, las versiones de Qt deben coincidir.

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