QT_QML_GENERATE_AOTSTATS
Legt fest, ob die Erfassung von Statistiken durch den QML-Compiler aktiviert ist.
Diese Variable wurde in Qt 6.8.3 eingeführt.
Wenn ein QML-Projekt mit `qt_add_qml_module()` konfiguriert wird, werden standardmäßig Statistiken zur Kompilierung des QML-Codes erfasst. Sie können dies explizit aktivieren oder deaktivieren, indem Sie die Variable ` QT_QML_GENERATE_AOTSTATS ` setzen. Sie kann projektweit festgelegt werden, indem
-DQT_QML_GENERATE_AOTSTATS=OFFan das CMake-Programm übergeben oder direkt in der entsprechenden CMakeLists.txt-Datei vor dem ersten Aufruf von `qt_add_qml_module()` gesetzt werden.
set(QT_QML_GENERATE_AOTSTATS OFF)© 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.