QT_QML_NO_QML_PREVIEW (proprietà del target)
Esclude una destinazione dalla creazione automatica della destinazione qmlpreview.
Questa proprietà è stata introdotta in Qt 6.12.
Impostare questa proprietà su un valore vero per un target per impedire che venga creato automaticamente un target qmlpreview per esso. Per impostazione predefinita, tale target viene creato per ogni eseguibile che effettua il collegamento con Qt6::Qml.
Questa proprietà ha effetto solo sul comportamento automatico, che può essere disabilitato anche a livello globale tramite QT_QML_NO_QML_PREVIEW. Non ha alcun effetto su una chiamata esplicita a qt_add_qml_preview() per lo stesso target.
Vedi anche QT_QML_NO_QML_PREVIEW (proprietà globale) e qt_add_qml_preview().
© 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.