QtWebKit QML Module

Qt WebKit QML

WebKit QML Elements

QtWebKit Module

The QtWebKit Module has a QML element, WebView for displaying web content from a URL.

Import the QtWebKit module before declaring a WebView element:

import QtWebKit 1.0

Simple Usage

import QtWebKit 1.0

WebView {
    url: "http://www.nokia.com"
    preferredWidth: 490
    preferredHeight: 400
    scale: 0.5
    smooth: false

See also WebView Example and QML Web Browser.

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