1 import QtQuick 1.0 2 import QtWebKit 1.0 3 4 WebView { 5 url: "javaScript.html" 6 javaScriptWindowObjects: [ 7 QtObject { 8 property string qmlprop: "qmlvalue" 9 WebView.windowObjectName: "myjsname" 10 } 11 ] 12 } 13