- Qt 6.4
- Qt Core
- CMake Variables in Qt6 Core
- QT_NO_STANDARD_PROJECT_SETUP
- Qt 6.4.2 Reference Documentation

# QT_NO_STANDARD_PROJECT_SETUP

Prevents subsequent calls to qt_standard_project_setup() from making any changes.

This variable was introduced in Qt 6.3.

Note: This variable is in technology preview and may change in future releases.

The qt_standard_project_setup() command is typically called in the top level `CMakeLists.txt` file of a project. In some scenarios, such projects may be absorbed as a child project of a larger project hierarchy. A parent project may want to prevent any child project from applying changes to the setup. The parent project can achieve this by setting `QT_NO_STANDARD_PROJECT_SETUP` to true before bringing in the child project via add_subdirectory(), FetchContent_MakeAvailable() or other similar methods provided by CMake.

See also qt_standard_project_setup().