QT_QML_GENERATE_AOTSTATS
Détermine si la collecte de statistiques par le compilateur QML est activée.
Cette variable a été introduite dans Qt 6.8.3.
Lorsqu’un projet QML est configuré à l’aide de qt_add_qml_module(), les statistiques issues de la compilation du code QML sont collectées par défaut. Vous pouvez activer ou désactiver explicitement cette fonctionnalité en définissant la variable QT_QML_GENERATE_AOTSTATS. Elle peut être définie à l’échelle du projet en la passant
-DQT_QML_GENERATE_AOTSTATS=OFFà l’exécutable CMake, ou en la définissant directement dans le fichier CMakeLists.txt correspondant avant le premier appel à 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.