I just installed Qt 5.6 with the "Qt Unified installer" provided by Qt. Before the installation started, I made sure, that the "WebView" option in the installer was ticked. Unfourtunately, there is no WebView for Windows in the Qt installation directory (I searched the whole directory for a webview dll), only a library for Android. Why is the webview package missing for windows?
edit: I tried to use webengine instead, but unfourtunately I get a similar message: "Unknown module(s) in QT: webengine"
King Regards Bernhard
Okay, I figured it out. Unfortunately, the Qt installer isn't that intuitive (at least not for me). Selecting WebView
as a component in the installer does not mean, that the corresponding libraries are automatically added. Per default Qt only installs the MingW toolchain and this toolchain can't compile WebView/WebEngine
. In order to use WebView/WebEngine
one must select the precompiled Visual Studio libraries in the installer. Furthermore Visual Studio needs to be installed on the system.After the installation, make sure that Qt Creator uses the Visual Studio compiler (you can specify that in the Qt Creator build kit settings).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With