Qt 4.8: QtWebKit QML Module

Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# QtWebKit QML Module

Qt WebKit QML

## WebKit QML Elements

- WebView

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