QT_NO_STANDARD_PROJECT_SETUP

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

Diese Variable wurde in Qt 6.3 eingeführt.

Der Befehl `qt_standard_project_setup()` wird in der Regel in der obersten ` CMakeLists.txt `-Datei eines Projekts aufgerufen. In manchen Fällen kann ein solches Projekt als untergeordnetes Projekt in eine größere Projekthierarchie eingebunden werden. Ein übergeordnetes Projekt möchte möglicherweise verhindern, dass ein untergeordnetes Projekt Änderungen an der Konfiguration vornimmt. Das übergeordnete Projekt kann dies erreichen, indem es ` QT_NO_STANDARD_PROJECT_SETUP ` auf ` TRUE ` setzt, bevor es das untergeordnete Projekt über `add_subdirectory()`, `FetchContent_MakeAvailable()` oder andere ähnliche von CMake bereitgestellte Methoden einbindet.

Siehe auch 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.