From 041ae9c520a7c8ca2d359522460f796f2d8df1ad Mon Sep 17 00:00:00 2001
From: Christian Stromme <christian.stromme@qt.io>
Date: Fri, 13 Oct 2017 15:45:03 +0200
Subject: [PATCH] windeployqt: Add QtWebView module

Add library and plugin directory.

Change-Id: Ib232de3df5bc98b99ee237818ea7a521df5579f3
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
---
 src/windeployqt/main.cpp | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/windeployqt/main.cpp b/src/windeployqt/main.cpp
index 0681a5aa8..86ca9e2f9 100644
--- a/src/windeployqt/main.cpp
+++ b/src/windeployqt/main.cpp
@@ -101,7 +101,8 @@ enum QtModule
     QtTextToSpeechModule      = 0x0000400000000000,
     QtSerialBusModule         = 0x0000800000000000,
     QtGamePadModule           = 0x0001000000000000,
-    Qt3DAnimationModule       = 0x0002000000000000
+    Qt3DAnimationModule       = 0x0002000000000000,
+    QtWebViewModule           = 0x0004000000000000
 };
 
 struct QtModuleEntry {
@@ -161,7 +162,8 @@ static QtModuleEntry qtModuleEntries[] = {
     { QtLocationModule, "geoservices", "Qt5Location", 0 },
     { QtWebChannelModule, "webchannel", "Qt5WebChannel", 0 },
     { QtTextToSpeechModule, "texttospeech", "Qt5TextToSpeech", 0 },
-    { QtSerialBusModule, "serialbus", "Qt5SerialBus", 0 }
+    { QtSerialBusModule, "serialbus", "Qt5SerialBus", 0 },
+    { QtWebViewModule, "webview", "Qt5WebView", 0 }
 };
 
 static const char webKitProcessC[] = "QtWebProcess";
@@ -821,7 +823,8 @@ static const PluginModuleMapping pluginModuleMappings[] =
     {"styles", QtWidgetsModule},
     {"sceneparsers", Qt3DRendererModule},
     {"renderplugins", Qt3DRendererModule},
-    {"geometryloaders", Qt3DRendererModule}
+    {"geometryloaders", Qt3DRendererModule},
+    {"webview", QtWebViewModule}
 };
 
 static inline quint64 qtModuleForPlugin(const QString &subDirName)
-- 
GitLab