QT_PAS_DE_CONFIGURATION_DE_PROJET_STANDARD
Empêche les appels ultérieurs à la fonction qt_standard_project_setup() d'apporter la moindre modification.
Cette variable a été introduite dans Qt 6.3.
La commande qt_standard_project_setup() est généralement appelée dans le fichier d'CMakeLists.txt s de niveau supérieur d'un projet. Dans certains cas, un tel projet peut être intégré en tant que projet enfant dans une hiérarchie de projets plus vaste. Un projet parent peut souhaiter empêcher tout projet enfant d’appliquer des modifications à la configuration. Pour ce faire, le projet parent peut définir ` QT_NO_STANDARD_PROJECT_SETUP ` sur ` TRUE ` avant d’intégrer le projet enfant via `add_subdirectory()`, `FetchContent_MakeAvailable()` ou d’autres méthodes similaires fournies par CMake.
Voir également qt_standard_project_setup().
© 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.