Qt WebView

Qt WebView provides a way to display web content in a QML application without necessarily including a full web browser stack by using native APIs where it makes sense.

This is useful on mobile platforms such as Android, iOS, and WinRT; especially on iOS, where policy dictates that all web content is displayed using the operating system's web view.


To make the Qt WebView module function correctly across all platforms, it's necessary to call QtWebView::initialize() right after creating the QGuiApplication instance.

QML Types

The module provides a single QML component for displaying web content in the application: WebView.


Due to platform limitations, overlapping the WebView with other QML components is not supported. Doing this will have unpredictable results which may differ from platform to platform.


Take a look at the Qt WebView Examples for a demonstration on how the APIs can be used in applications.

API Reference

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