이 페이지에서

qml

qml 유틸리티

The qml 유틸리티 도구는 QML 문서를 불러오고, QML 문서에 시각적 항목이 포함되어 있는 경우 해당 장면을 표시하는 창을 생성합니다. 또한 이 도구를 사용하여 비시각적 QML 문서를 평가할 수도 있습니다. 이 도구는 주로 여기에 설명된 대로 QML 애플리케이션이나 컴포넌트를 신속하게 테스트하기 위한 목적으로 사용됩니다.

사용법:
qml [옵션] 파일... [– 인수...]

옵션

옵션설명
-h, –help명령줄 옵션에 대한 도움말을 표시합니다.
–help-all일반 Qt 옵션을 포함한 도움말을 표시합니다.
-v, –version버전 정보를 표시합니다.
-a, –apptype <core|gui|widget>사용할 애플리케이션 클래스를 선택합니다. 기본값은 gui입니다.
-I <경로>지정된 경로를 임포트 경로 앞에 추가합니다.
-f <파일>지정된 파일을 QML 파일로 불러옵니다.
-c, –config <파일>지정된 내장 구성 또는 구성 파일을 로드합니다.
–list-conf내장된 구성 목록을 표시합니다.
–translation <파일>지정된 파일을 번역 파일로 불러옵니다.
–dummy-data <파일>지정된 디렉터리의 QML 파일을 컨텍스트 속성으로 불러옵니다. (사용 중단됨)
–desktop데스크톱 OpenGL 사용을 강제합니다 (AA_UseDesktopOpenGL).
–glesGLES 사용을 강제합니다 (AA_UseOpenGLES).
–software소프트웨어 렌더링을 강제 적용합니다 (AA_UseSoftwareOpenGL).
–core-profileOpenGL 코어 프로파일 사용을 강제합니다.
–disable-context-sharingQtQuick Windows에서 공유 GL 컨텍스트 사용을 비활성화합니다.
–enable-shader-cache생성된 셰이더의 영구 캐싱을 활성화합니다.
–transparent반투명 창을 활성화하기 위해 알파 채널을 요청합니다.
–multisample4배 멀티샘플 앤티앨리어싱을 요청합니다.
–quiet모든 출력을 억제합니다.
–verboseqml이 수행 중인 작업(예: 로드 중인 특정 파일 URL)에 대한 정보를 출력합니다.
–slow-animations모든 애니메이션을 슬로우 모션으로 실행합니다.
–fixed-animations애니메이션을 실제 시간이 아닌 애니메이션 틱에 맞춰 실행합니다.
-r, –rhi <백엔드>Qt 그래픽 추상화(RHI)의 백엔드를 설정합니다. 백엔드는 default, vulkan, metal, d3d11, gl 중 하나입니다.
-S <선택기>QQmlFileSelectors 목록에 선택기를 추가합니다.

© 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.