QT_QML_NO_QML_PREVIEW (propriedade de destino)
Exclui um destino da criação automática do destino `qmlpreview`.
Essa propriedade foi introduzida no Qt 6.12.
Defina esta propriedade como “true” em um alvo para impedir que um alvo “qmlpreview” seja criado automaticamente para ele. Por padrão, esse alvo é criado para cada executável que faz ligação com Qt6::Qml.
Essa propriedade afeta apenas o comportamento automático, que também pode ser desativado globalmente por meio de `QT_QML_NO_QML_PREVIEW`. Ela não afeta uma chamada explícita a `qt_add_qml_preview() ` para o mesmo alvo.
Veja também QT_QML_NO_QML_PREVIEW (propriedade global) 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.