Proprietà dei file sorgente CMake in Qt6 QML
I comandi CMake riconoscono le seguenti proprietà dei file sorgente CMake:
Vedi anche Riferimento alle proprietà CMake.
Specifica un nome di file .h e .cpp diverso da quello predefinito. | |
Contrassegna un file QML per la generazione di codice Java. | |
Contrassegna un file QML come fornitore di un tipo interno. | |
Contrassegna un file QML come fornitore di un tipo singleton. | |
Esclude un file dalla compilazione in byte code. | |
Esclude un file dall'aggiunta come tipo nel file typeinfo del modulo QML. | |
Impedisce che un file venga incluso nell'elaborazione automatica di qmllint. | |
Esclude un file dalla compilazione in C++ tramite qmltc. | |
Sovrascrive il nome del tipo fornito dal file. | |
Specifica un insieme personalizzato di versioni per un tipo. |
© 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.