QT_NO_STANDARD_PROJECT_SETUP

Impede que chamadas subsequentes à função qt_standard_project_setup() realizem quaisquer alterações.

Essa variável foi introduzida no Qt 6.3.

O comando `qt_standard_project_setup()` é normalmente chamado no arquivo ` CMakeLists.txt ` de nível superior de um projeto. Em alguns cenários, esse projeto pode ser incorporado como um projeto filho de uma hierarquia de projetos maior. Um projeto pai pode querer impedir que qualquer projeto filho aplique alterações à configuração. O projeto pai pode fazer isso definindo ` QT_NO_STANDARD_PROJECT_SETUP ` como ` TRUE ` antes de incorporar o projeto filho por meio de `add_subdirectory()`, `FetchContent_MakeAvailable()` ou outros métodos semelhantes fornecidos pelo CMake.

Veja também 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.