Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
unknown module(s) in qt webkitwidgets qt5.7.0
I'm a new user of Qt, I want to create a simple browser using QtWebKitwidgets and I'm having this message "unknown module(s) in qt webkitwidgets qt5.7.0" when I run qmake, I've googled it and it seems like Qt 5_7_0 doesn't support the "QtWebKit" anymore, most of people who fixed this error are using Linux OS, but I'm running a Windows, I understood that I've to download some dll files, but I don't know how, any alternative?? thanks for help.
Hi and welcome to devnet,
The old QtWebKit module has been deprecated with Qt 5.5 and removed with Qt 5.6 from the binary installer. You have three options:
- Use the QtWebEngine module
- Build the QtWebKit module
- Take a look at the QtWebKit reloaded project
@Lifetime-Qt-Champion I'm only a beginner, I've read the doc and it seems as it's too complicated to build the WebKit engine for my Qt version, I'll see what I can do with QtWebEngine, otherwise I'll just quit.
Anyway thanks a lot bro, you're the best.
If you take the packaged sources, it should alleviate the build process.
In any case, you might be interested by the QtWebBrowser project. It's based on QtWebEngine.
Konstantin Tokarev last edited by
@ArsalenQt We have prebuilt packages of preview release for Windows and macOS here: https://github.com/annulen/webkit/releases/tag/qtwebkit-tp3
That said, if you are a beginner, for now it will be easier for you to start with QtWebEngine.
@SGaist I think I'll go on with the QtWebEngine.
I've checked the content of the QtWebBrowser, and I didn't understood too much because it's a high level work, but it helped me to understand the structure of the project.
@Konstantin-Tokarev I will go on by your advice and start with QtWebEngine, thanks a lot.