QT_QML_GENERATE_AOTSTATS

Cette variable a été introduite dans Qt 6.8.3.

Lorsqu'un projet QML est configuré en utilisant qt_add_qml_module, par défaut, les statistiques de la compilation du code QML seront collectées. Vous pouvez explicitement choisir d'accepter ou de refuser cette collecte en définissant la variable QT_QML_GENERATE_AOTSTATS. Elle peut être définie pour l'ensemble du projet en 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)

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