Qt Reference Documentation

Contents

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.