import Qt 4.6 import org.webkit 1.0 // The WebView background is transparent // if the HTML does not specify a background Rectangle { color: "green" width: web.width height: web.height WebView { id: web html: "Hello World!" } }