import QtQuick 2.2 import QtWebKit 3.0 Rectangle { width: 800 height: 600 color:"#ff0000" WebView { width: 600 height: 400 anchors.centerIn: parent url: "http://www.google.com" } }