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/quicktestbrowser | |
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/quicktestbrowser')
-rw-r--r-- | tests/quicktestbrowser/main.cpp | 4 | ||||
-rw-r--r-- | tests/quicktestbrowser/quicktestbrowser.pro | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/quicktestbrowser/main.cpp b/tests/quicktestbrowser/main.cpp index b886564f3..9dc0c2dee 100644 --- a/tests/quicktestbrowser/main.cpp +++ b/tests/quicktestbrowser/main.cpp @@ -38,8 +38,8 @@ typedef QGuiApplication Application; #include <QtQml/QQmlApplicationEngine> #include <QtQml/QQmlContext> #include <QtQml/QQmlComponent> -#include <QtWebEngine/qtwebengineglobal.h> -#include <QtWebEngine/QQuickWebEngineProfile> +#include <QtWebEngineQuick/qtwebengineglobal.h> +#include <QtWebEngineQuick/QQuickWebEngineProfile> #include <QtWebEngineCore/qwebenginecookiestore.h> static QUrl startupUrl() diff --git a/tests/quicktestbrowser/quicktestbrowser.pro b/tests/quicktestbrowser/quicktestbrowser.pro index 8c6b8a111..304135836 100644 --- a/tests/quicktestbrowser/quicktestbrowser.pro +++ b/tests/quicktestbrowser/quicktestbrowser.pro @@ -19,7 +19,7 @@ OTHER_FILES += ApplicationRoot.qml \ RESOURCES += resources.qrc -QT += qml quick webengine +QT += qml quick webenginequick qtHaveModule(widgets) { QT += widgets # QApplication is required to get native styling with QtQuickControls |