summaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/publicapi/tst_publicapi.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-04-20 16:18:59 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-04-24 20:04:04 +0200
commitd0852f90a24673ccc9ef0b93e224ba37b674644d (patch)
tree99f70cf22c1e671be5bddd46be25439d34e805d5 /tests/auto/quick/publicapi/tst_publicapi.cpp
parentdbc3ca7cfcb915b99bb43ddb13959c90a264fa11 (diff)
Fix building dev with newer QtBase
Change-Id: I0d52e4f6684425cb15319760e0001bdb13846997 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Diffstat (limited to 'tests/auto/quick/publicapi/tst_publicapi.cpp')
-rw-r--r--tests/auto/quick/publicapi/tst_publicapi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp
index aaca7997b..bc8f61562 100644
--- a/tests/auto/quick/publicapi/tst_publicapi.cpp
+++ b/tests/auto/quick/publicapi/tst_publicapi.cpp
@@ -771,7 +771,9 @@ static const QStringList expectedAPI = QStringList()
<< "QQuickWebEngineView.url --> QUrl"
<< "QQuickWebEngineView.urlChanged() --> void"
<< "QQuickWebEngineView.userScripts --> QQmlListProperty<QQuickWebEngineScript>"
+#if QT_CONFIG(webengine_webchannel)
<< "QQuickWebEngineView.webChannel --> QQmlWebChannel*"
+#endif
<< "QQuickWebEngineView.webChannelChanged() --> void"
<< "QQuickWebEngineView.webChannelWorld --> uint"
<< "QQuickWebEngineView.webChannelWorldChanged(uint) --> void"