Qt: Unknown module in QT: webview

I just installed Qt 5.6 using the "Qt Unified installer" provided by Qt. Before starting the installation, I made sure that the "WebView" option in the installer was checked. Unfortunately, in the Qt installation directory there is no WebView for Windows (I searched the entire directory for webview dll), but only for the Android library. Why is the webview package missing for windows?

edit: I tried using webengine instead, but unfortunately I get a similar message: "Unknown module in QT: webengine"

King respectfully Bernhard

+5
source share
1 answer

Ok, I figured it out. Unfortunately, the Qt installer is not so intuitive (at least not for me). Selecting "WebView" as a component in the installer does not mean that the corresponding libraries are automatically added. By default, Qt only installs the mingw program chain, and this tool chain cannot compile WebView / WebEngine. To use WebView / WebEngine, you must select the pre-compiled Visual Studio libraries in the installer. In addition, Visual Studio must be installed on the system. After installation, make sure that Qt Creator uses the Visual Studio compiler (you can specify this in the Qt Creator build set settings).

+6
source

All Articles