QT_QML_NO_QML_PREVIEW (propiedad de destino)
Excluye un destino de la creación automática de destinos «qmlpreview».
Esta propiedad se introdujo en Qt 6.12.
Establezca esta propiedad en «true» en un objetivo para evitar que se le cree automáticamente un objetivo «qmlpreview ». Por defecto, se crea dicho objetivo para cada ejecutable que se vincula con Qt6::Qml.
Esta propiedad solo afecta al comportamiento automático, que también se puede desactivar de forma global mediante QT_QML_NO_QML_PREVIEW. No tiene ningún efecto sobre una llamada explícita a qt_add_qml_preview() para el mismo objetivo.
Véase también QT_QML_NO_QML_PREVIEW (propiedad global) y 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.