이 페이지에서

Qt WebView 예제 - 웹 뷰를 위한 최소 예제 Qt Quick

이 예제는 Qt WebView 모듈을 Qt Quick 와 함께 사용하는 방법을 보여줍니다.

안드로이드 기기에서 Qt 웹사이트를 표시하는 웹 뷰

Minibrowser는 Qt Quick Controls 와 Qt WebView 를 사용하여 기본적인 브라우징 환경을 제공합니다. URL을 입력하는 주소 표시줄 외에도, 브라우징 기록을 탐색할 수 있는 몇 가지 컨트롤이 있습니다.

참고: Qt WebView 모듈을 사용할때는 QGuiApplication 인스턴스를 생성하기 직전에 QtWebView::initialize()을 호출해야 합니다. QtWebView::initialize()을 호출하면 필요한 사전 설정 단계가 정상적으로 실행됩니다.

    QtWebView::initialize();
    QGuiApplication app(argc, argv);

예제 실행

다음 경로에서 예제를 실행할 수 있습니다.

code.qt.io의 예제 프로젝트

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