QT_KEIN_STANDARD_PROJEKT_AUFSTELLUNG

Verhindert, dass nachfolgende Aufrufe von qt_standard_project_setup() irgendwelche Änderungen vornehmen.

Diese Variable wurde in Qt 6.3 eingeführt.

Der qt_standard_project_setup() Befehl wird typischerweise in der obersten Ebene der CMakeLists.txt Datei eines Projektes aufgerufen. In einigen Szenarien kann ein solches Projekt als Kindprojekt einer größeren Projekthierarchie aufgenommen werden. Ein übergeordnetes Projekt möchte möglicherweise verhindern, dass ein untergeordnetes Projekt Änderungen an der Konfiguration vornimmt. Das Elternprojekt kann dies erreichen, indem es QT_NO_STANDARD_PROJECT_SETUP auf TRUE setzt, bevor es das Kindprojekt über add_subdirectory(), FetchContent_MakeAvailable() oder andere ähnliche von CMake bereitgestellte Methoden einbindet.

Siehe auch qt_standard_project_setup().

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