Qt WebView 예제 - 웹 뷰를 위한 최소 예제 Qt Quick
이 예제는 Qt WebView 모듈을 Qt Quick 와 함께 사용하는 방법을 보여줍니다.

Minibrowser는 Qt Quick Controls 와 Qt WebView 를 사용하여 기본적인 브라우징 환경을 제공합니다. URL을 입력하는 주소 표시줄 외에도, 브라우징 기록을 탐색할 수 있는 몇 가지 컨트롤이 있습니다.
참고: Qt WebView 모듈을 사용할때는 QGuiApplication 인스턴스를 생성하기 직전에 QtWebView::initialize()을 호출해야 합니다. QtWebView::initialize()을 호출하면 필요한 사전 설정 단계가 정상적으로 실행됩니다.
QtWebView::initialize();
QGuiApplication app(argc, argv);예제 실행
다음 경로에서 예제를 실행할 수 있습니다.
- Qt Creator
Welcome 모드를 열고 Examples 에서 예제를 선택하십시오. 자세한 내용은 Qt Creator: 튜토리얼: 빌드 및 실행을 참조하십시오.
- Qt Extension for Visual Studio Code
Command Palette 에서 Qt: Open Qt examples 명령을 실행하고 목록에서 예제를 선택합니다. 자세한 내용은 Qt Extension for Visual Studio Code: 튜토리얼: 빌드 및 실행을 참조하십시오.
© 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.