qt_qml_generate_aotstats
この変数は Qt 6.8.3 で導入されました。
QML プロジェクトが qt_add_qml_modules を使って設定されると、デフォルトでは QML コードのコンパイルから統計情報が収集されます。QT_QML_GENERATE_AOTSTATS
変数を設定することで、明示的に統計情報の取得を許可したり、禁止したりすることができます。この変数は
-DQT_QML_GENERATE_AOTSTATS=OFF
を渡すことでプロジェクト全体に設定することもできますし、qt_add_qml_module を最初に呼び出す前に、対応する CMakeLists.txt ファイルに直接設定することもできます。
set(QT_QML_GENERATE_AOTSTATS OFF)
© 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.