Variabili globali di CMake in Qt6 QML
I comandi CMake riconoscono le seguenti variabili globali CMake:
Abilita il salvataggio delle proprietà di contesto nei target lint. | |
Controlla se la raccolta delle statistiche del compilatore QML è abilitata. | |
Abilita la generazione automatica dei file .qmlls.ini per QML Language Server. | |
Personalizza il valore di `no-cmake-calls` nei file `.qmlls.ini` per QML Language Server. | |
Disabilita la compilazione dei file QML in bytecode o codice C++. | |
Controlla se il supporto per qmlpreview viene configurato automaticamente per gli eseguibili che effettuano il collegamento a Qt6::Qml. | |
Directory di output di base in cui verranno creati per impostazione predefinita i moduli QML. |
© 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.