summaryrefslogtreecommitdiff
path: root/tests/auto/qml/tst_webchannel.qml
diff options
context:
space:
mode:
authorMilian Wolff <milian.wolff@kdab.com>2014-07-03 19:17:02 +0200
committerMilian Wolff <milian.wolff@kdab.com>2014-07-15 11:31:48 +0200
commit003596fad52690127afca0d7025b62bad7fd013e (patch)
tree7b68f95ce3a519018b309990f85bf7e044307fe9 /tests/auto/qml/tst_webchannel.qml
parent125c5f7dc270ab58e5f876cf8bc8aaf56d9e8f1b (diff)
downloadqtwebchannel-003596fad52690127afca0d7025b62bad7fd013e.tar.gz
Make the QWebChannel QML API publically accessible.
This is required for proper QtWebKit/QtWebEngine integration, as otherwise these modules would have to redo a lot of the QtWebChannel QML API. Furthermore, without this, we could not use the WebChannel.id attached property everywhere, independent of the web browser technology. Change-Id: I032a9326841d505c2f77959a240bbfc71e94b6e8 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'tests/auto/qml/tst_webchannel.qml')
-rw-r--r--tests/auto/qml/tst_webchannel.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/qml/tst_webchannel.qml b/tests/auto/qml/tst_webchannel.qml
index 3c404d3..0443802 100644
--- a/tests/auto/qml/tst_webchannel.qml
+++ b/tests/auto/qml/tst_webchannel.qml
@@ -43,6 +43,7 @@ import QtQuick 2.0
import QtTest 1.0
import QtWebChannel 1.0
+import QtWebChannel.Tests 1.0
import "qrc:///qwebchannel/qwebchannel.js" as Client
TestCase {
@@ -52,7 +53,7 @@ TestCase {
id: client
}
- WebChannel {
+ TestWebChannel {
id: webChannel
transports: [client.serverTransport]
}