QT_NO_CONFIGURAZIONE_PROGETTO_STANDARD
Impedisce che le successive chiamate a qt_standard_project_setup() apportino alcuna modifica.
Questa variabile è stata introdotta in Qt 6.3.
Il comando qt_standard_project_setup() viene in genere chiamato nel file CMakeLists.txt di livello superiore di un progetto. In alcuni scenari, un progetto di questo tipo può essere incorporato come progetto figlio all’interno di una gerarchia di progetti più ampia. Un progetto padre potrebbe voler impedire a qualsiasi progetto figlio di applicare modifiche alla configurazione. Il progetto padre può ottenere questo risultato impostando ` QT_NO_STANDARD_PROJECT_SETUP ` su ` TRUE ` prima di incorporare il progetto figlio tramite `add_subdirectory()`, `FetchContent_MakeAvailable()` o altri metodi simili forniti da CMake.
Vedi anche 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.