Qt WebView 5.15.2

- Qt 5.15
- Qt WebView
- Qt 5.15.2 Reference Documentation

# 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 UWP (Universal Windows Platform); especially on iOS, where policy dictates that all web content is displayed using the operating system's web view.

On Windows, Linux, and macOS, Qt WebView depends on the Qt WebEngine module to render content.

## Prerequisites

To make the Qt WebView module function correctly across all platforms, it's necessary to call QtWebView::initialize() before creating the QGuiApplication instance and before window's QPlatformOpenGLContext is created.

## QML Types

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

## Limitations

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.

## Examples

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

## Licenses

Qt WebView is available under commercial licenses from The Qt Company. In addition, it is available under the GNU Lesser General Public License, version 3, or the GNU General Public License, version 2. See Qt Licensing for further details.

## API Reference

- Qt WebView QML Types
- Qt WebView C++ Classes and Namespaces