summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/plugin/plugin.pro
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-02-10 12:02:57 +0100
committerMichal Klocek <michal.klocek@qt.io>2021-04-13 09:32:55 +0200
commit919dd97e835f469609a0710eb91f829a6d70e88c (patch)
tree90c9044585d8f9b71776a4cbf1f4ef4a34a7076b /src/webenginequick/plugin/plugin.pro
parent29d45bf2d105b43d8cedc923869960091771d2a1 (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 'src/webenginequick/plugin/plugin.pro')
-rw-r--r--src/webenginequick/plugin/plugin.pro12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/webenginequick/plugin/plugin.pro b/src/webenginequick/plugin/plugin.pro
new file mode 100644
index 000000000..236f199a2
--- /dev/null
+++ b/src/webenginequick/plugin/plugin.pro
@@ -0,0 +1,12 @@
+CXX_MODULE = qml
+TARGET = qtwebengineplugin
+TARGETPATH = QtWebEngine
+IMPORT_VERSION = 1.10
+
+QT += qml quick
+QT_PRIVATE += core-private webenginecore-private webenginequick-private
+
+SOURCES = plugin.cpp
+
+QMAKE_QMLPLUGINDUMP_FLAGS = -defaultplatform
+load(qml_plugin)