From 003596fad52690127afca0d7025b62bad7fd013e Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Thu, 3 Jul 2014 19:17:02 +0200 Subject: 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 --- tests/auto/qml/tst_bench.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/auto/qml/tst_bench.qml') diff --git a/tests/auto/qml/tst_bench.qml b/tests/auto/qml/tst_bench.qml index 833720e..e1354d7 100644 --- a/tests/auto/qml/tst_bench.qml +++ b/tests/auto/qml/tst_bench.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 { @@ -53,7 +54,7 @@ TestCase { id: client } - WebChannel { + TestWebChannel { id: webChannel transports: [client.serverTransport] } -- cgit v1.2.1