QT_HOST_PATH

Percorso dell'installazione Qt sull'host in caso di compilazione incrociata.

Questa variabile è stata introdotta in Qt 6.0.

Durante la compilazione incrociata, questa variabile deve essere impostata sul percorso di installazione di Qt per la piattaforma host. Viene utilizzata per individuare gli strumenti da eseguire sull'host (moc, rcc, androiddeployqt e così via). È possibile riutilizzare gli strumenti preinstallati anche durante la compilazione di Qt per i sistemi host, utilizzando QT_HOST_PATH che punta a un Qt host preinstallato e impostando QT_FORCE_FIND_TOOLS su ON. In questo caso, le versioni di Qt devono corrispondere.

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