Q:

Project ERROR: Unknown module(s) in QT: webkitwidgets issues

I'm using Qt 5.7.1 and I have problem with undefined QtWebView. I have found and download from the link - https://github.com/annulen/webkit/releases
qtwebkit_tp4_qt57_msvc2015_x86.zip and copy the content of the archive to C:\Qt\5.7\msvc2015. Now it found QtWebView but the problem is with the object:
test.h
QtWebView *mapBrowserView;

Errors:
error: C2143: syntax error: missing ';' before '*'
error: C4430: missing type specifier - int assumed. Note: C++ does not support default-int

 
So it doesn't work. I think installation should be different. How to fix it? Thanks in advance for the help.
It seems I have circular include QtWebView but I included it only once. It's strange.

A:

So here is how I have fixed it:

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;

Now it's all compile and work.

