diff options
author | Michal Klocek <michal.klocek@qt.io> | 2021-02-10 12:02:57 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2021-04-13 09:32:55 +0200 |
commit | 919dd97e835f469609a0710eb91f829a6d70e88c (patch) | |
tree | 90c9044585d8f9b71776a4cbf1f4ef4a34a7076b /tests/auto/widgets/offscreen | |
parent | 29d45bf2d105b43d8cedc923869960091771d2a1 (diff) |
Fix 'WebEngine' ambiguity for Qt6
'WebEngine' is a qml module, however name itself
is ambiguous. Thefore now with Qt6 and with cmake
port name the module as WebEngineQuick.
Change-Id: I948672dd5d389a01c6a31ec871459164fd989c0f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/widgets/offscreen')
-rw-r--r-- | tests/auto/widgets/offscreen/offscreen.pro | 2 | ||||
-rw-r--r-- | tests/auto/widgets/offscreen/tst_offscreen.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/widgets/offscreen/offscreen.pro b/tests/auto/widgets/offscreen/offscreen.pro index b8e5632f9..2469f9a53 100644 --- a/tests/auto/widgets/offscreen/offscreen.pro +++ b/tests/auto/widgets/offscreen/offscreen.pro @@ -1,5 +1,5 @@ include(../tests.pri) -QT += webengine +QT += webenginewidgets qpa.name = QT_QPA_PLATFORM qpa.value = offscreen QT_TOOL_ENV += qpa diff --git a/tests/auto/widgets/offscreen/tst_offscreen.cpp b/tests/auto/widgets/offscreen/tst_offscreen.cpp index 7573b0537..81cbe95f3 100644 --- a/tests/auto/widgets/offscreen/tst_offscreen.cpp +++ b/tests/auto/widgets/offscreen/tst_offscreen.cpp @@ -26,7 +26,6 @@ ** ****************************************************************************/ -#include "qtwebengineglobal.h" #include <QTest> #include <QSignalSpy> #include <QWebEngineProfile> |