QT_QML_NO_QML_PREVIEW (대상 속성)

타깃에 대한 qmlpreview 타깃의 자동 생성을 제외합니다.

이 속성은 Qt 6.12에서 도입되었습니다.

타깃에 대해 이 속성을 참(true) 값으로 설정하면, 해당 타깃에 대한 qmlpreview 타깃이 자동으로 생성되는 것을 방지할 수 있습니다. 기본적으로 Qt6::Qml 에 링크된 모든 실행 파일에는 이러한 타깃이 생성됩니다.

이 속성은 자동 동작에만 영향을 미치며, 이 동작은 QT_QML_NO_QML_PREVIEW를 통해 전역적으로 비활성화할 수도 있습니다. 동일한 타깃에 대해 qt_add_qml_preview() 를 명시적으로 호출하는 경우에는 아무런 영향도 미치지 않습니다.

QT_QML_NO_QML_PREVIEW(전역 속성) 및 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.