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().

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