Project ERROR: Unknown module(s) in QT: webkitwidgets
-
Now I have figured it out -
Qt WebView provides a way to display web content in a QML application
but I'm developingWin API
application only forWindows
OS. So it will not work. -
So here is how I have fixed it:
- Copy the contents of the archive
qtwebkit_tp4_qt57_msvc2015_x86.zip
toC:\Qt\5.7\msvc2015
; - Include
webkitwidgets
to.pro
file; - Include
#include <QtWebKitWidgets/QWebView>
- Initialized the
QWebView *mapBrowserView;
object;
Now it's all compile and work.
- Copy the contents of the archive
-
@Cobra91151 Hi i also face same issue, you have any Qtwebkitwidgets install setup document?
-
-
So you didnt try like he wrote ?
-
Ok but you should to that then.
and dont forget to run qmake from build menu when you change the .pro file. -
so i need copy this qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015; to qtbase is enough and i need following below step is enough? . and i will give qmake ?.
Copy the contents of the archive qtwebkit_tp4_qt57_msvc2015_x86.zip to C:\Qt\5.7\msvc2015;
Include webkitwidgets to .pro file;
Include #include <QtWebKitWidgets/QWebView>
Initialized the QWebView *mapBrowserView; object; -
Why not try it. ? ( i have not)
He says to unpack the zip to that location (Copy the contents ). not copy whole zip file.
he says it then worked for him.
And after you alter your .pro file, you must run qmake from build menu.