qmlpreview
Qml 미리보기
QML 미리보기 도구는 디스크의 QML 및 JavaScript 파일을 감시하고 변경 사항이 있으면 애플리케이션을 실시간으로 업데이트합니다. 미리 볼 애플리케이션에 QML 디버깅이 활성화되어 있어야 합니다. 더 보기...
사용법 |
---|
QMLPREVIEW[옵션] 실행 파일 [매개변수...] |
옵션
옵션 | 설명 |
---|---|
-verbose | 디버깅 출력을 인쇄합니다. |
-h, -help | 명령줄 옵션에 대한 도움말을 표시합니다. |
-help-all | 일반 Qt 옵션을 포함한 도움말을 표시합니다. |
-v, -version | 버전 정보를 표시합니다. |
인수
인수 | 설명 |
---|---|
실행 파일 | QML 문서를 로드하는 실행 파일의 경로입니다. |
매개변수 | 실행 파일의 인수 |
세부 정보
QML 디버깅 활성화
QML 디버깅을 사용하려면 적절한 구성 매개변수를 사용하여 애플리케이션을 빌드해야 합니다. qmake를 사용하는 경우 .pro
파일에 CONFIG+=qml_debug
을 추가해야 합니다. 다른 빌드 시스템을 사용하는 경우 QT_QML_DEBUG
변수를 정의해야 합니다.
qt_add_executable(MyApp ... ) target_compile_definitions(MyApp PRIVATE QT_QML_DEBUG)
© 2025 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.