summaryrefslogtreecommitdiff
path: root/examples/hybridshell/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hybridshell/main.qml')
-rw-r--r--examples/hybridshell/main.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/hybridshell/main.qml b/examples/hybridshell/main.qml
index 0dedb74..24dc729 100644
--- a/examples/hybridshell/main.qml
+++ b/examples/hybridshell/main.qml
@@ -42,6 +42,7 @@
import QtQuick 2.0
import QtWebChannel 1.0
+import QtWebChannel.Examples 1.0
import QtWebKit 3.0
import QtWebKit.experimental 1.0
@@ -66,12 +67,12 @@ Rectangle {
onInitialized: {
shell.start()
- webView.url = "index.html?webChannelBaseUrl=" + webChannel.baseUrl;
+ webView.url = "qrc:/index.html?webChannelBaseUrl=" + webChannel.baseUrl;
}
}
width: 480
- height: 800
+ height: 600
WebView {
id: webView