Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Project ERROR: Unknown module(s) in QT: webkitwidgets
Hi! I get the error: Project ERROR: Unknown module(s) in QT:
QT += widgets core gui network webkitwidgets webenginewidgets concurrent
Also when hover on the include it displays:
No such file or directory
I can't use
QWebEngineViewbecause it breaks my application theme. How to include
Please see here
Its no longer part of the official download.
Thanks. Also I have checked
qt_lib_webview.primodule exists but not
qt_lib_webkitwidgets.pri. So I need to build it by myself?
There is downloads as link says
So i think there is no need to build one yourself if you can find the right version
which might suit you fine?
Ok. I need
x86. So I have downloaded the
So I need to copy it to the
Thats a good question how to correctly install.
But yes, it should be copied into place so the module etc works
but never tried it myself :)
There is no install doc in zip or anything like that?
Yes. It compiles. Thank you.
The problem now is with the object:
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.
Using QtWebKit in your project
I will try to compile it.
It's all already compiled, so I don't need to recompile anything. It seems I have circular include
QtWebViewbut I included it only once. It's strange.
Ok, i assume it would be precompiled as else no reason for compiler versions.
- It seems I have circular include QtWebView but I included it only once. It's strange.
You can turn on Include view and see if something shows up
My includes screenshot:
Maybe this project has (https://github.com/annulen/webkit/releases) circular include, or bugs in the code.
Also I have downloaded
Qtsource. But I don't know where to install it? Is there any documentation link how to install
But I don't know where to install it? Is there any documentation link how to install submodules? Thanks.
Hi, normally you would do
for such a source zip
I will try it. Thanks.
'qmake' is not recognized as an internal or external command, operable program or batch file.when running on
qtwebview-opensource-src-5.7.1(Developer Command Prompt for VS2015)?
I have these files after extraction from archive:
Should I copy these files to the path:
I have reinstall
Qt 5.7.1and my .pro include is
QT += widgets core gui network webview concurrent
But the error is the same when initialize
QtWebView is not the class, it is the namespace, image:
Now I have figured it out -
Qt WebView provides a way to display web content in a QML applicationbut I'm developing
Win APIapplication only for
WindowsOS. So it will not work.
So here is how I have fixed it:
- Copy the contents of the archive
- Initialized the
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?
@vadak Hi @mrjj ,i am facing one issue related to QT:webkitwidgets unknown module ,please help to solve this issue and now i am using QT5.7 and OS windows10 and i downloaded qtwebkit_tp4_qt57_msvc2015_x64.zip .
any setup document need for this? i am new to QT.
Did you try to copy as Cobra91151 wrote ?
As far as I know there is no extra documentation available.
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.
@mrjj issue is resolved ,thanks for your support.
so how did you fix it ?
you had to do more than what was explained here ?
@mrjj,what ever step you told that only i followed(above conversation) and my late replay, nextday onwards i fixed this issue.
ok super. so should work for other too.
@mrjj,yes thats what i am thinking .