QT_HOST_PATH

クロスコンパイル時のホスト Qt インストールの場所。

この変数は Qt 6.0 で導入されました。

クロスコンパイルする場合、この変数にはホストプラットフォームの Qt のインストール場所を設定する必要があります。これは、ホスト上で実行するツール(mocrccandroiddeployqtなど)を見つけるために使用されます。Qtをホストシステム用にコンパイルする際に、プリインストールされたツールを再利用することも可能です。この場合、プリインストールされたホストQtを指すQT_HOST_PATH を使用し、QT_FORCE_FIND_TOOLSON に設定します。 この場合、Qtのバージョンは一致する必要があります。

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