QT_QML_GENERATE_AOTSTATS
Determina se la raccolta delle statistiche del compilatore QML è abilitata.
Questa variabile è stata introdotta in Qt 6.8.3.
Quando un progetto QML viene configurato utilizzando qt_add_qml_module(), per impostazione predefinita, verranno raccolte le statistiche relative alla compilazione del codice QML. È possibile abilitare o disabilitare esplicitamente questa funzione impostando la variabile QT_QML_GENERATE_AOTSTATS. Può essere impostata a livello di progetto passando
-DQT_QML_GENERATE_AOTSTATS=OFFall’eseguibile CMake, oppure impostandola direttamente nel corrispondente file CMakeLists.txt prima della prima chiamata a `qt_add_qml_module()`.
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.