Project ERROR: Unknown module(s) in QT: webkitwidgets
-
Hi
i add to QT += core gui widgets webkitwidgets network svg my .pro file and build my project. i am getting Project ERROR: Unknown module(s) in QT: webkitwidgets
16:36:48: Starting: "C:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe"
C:\Qt\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug" -o Makefile ..\refinery\refinery.pro
Project ERROR: Unknown module(s) in QT: webkitwidgets
Makefile:214: recipe for target 'Makefile' failed
mingw32-make: *** [Makefile] Error 3
16:37:26: The process "C:\Qt\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project refinery (kit: Desktop Qt 5.7.0 MinGW 32bit)
When executing step "Make"
When executing step "qmake".
i searched in web that webkit module not avaliable in Qt5.7 so i download related webkit module (qtwebkit_tp4_qt57_msvc2015_x86.zip)and copied to my local and how to install in windows 10 env ,i am new to window10 build flow.if any one know , how to resolve this problem. please let me know windows10 step .
Thanks
vadak -
@vadak ,
Qt webkitwidgets will not support for mingw. You should use Qt msvc.
-
@vadak ,
Install the visual studio, then use the msvc compiler in Qt,
-
@Vinod-Kuntoji thanks for your quick response .
-
Hi and welcome to devnet,
To add to @Vinod-Kuntoji, you also need to install the matching MSVC version of Qt.
-
@vadak With MinGW please use http://download.qt.io/snapshots/ci/qtwebkit/5.9/latest/qtwebkit/qtwebkit-Windows-Windows_7-Mingw53-Windows-Windows_7-X86.7z and Qt 5.9
In general, look for archives with "mingw" in the name, and skip those with "msvc"
-
I see there's been one small error: it's QtWebEngine that's only available with MSVC and at least MSVC2015 because of the third parties involved.
The original QtWebKit was deprecated with 5.6 and removed since 5.7 hence the error @vadak gets. So the current good solution is to use the reboot from @Konstantin-Tokarev.
-
@Konstantin-Tokarev thanks for your info and one more question aboutQtwebkit i downloadedQt webkit and how do add this sourcemodule to my QT5.7 any set up process is available ?
-
You cannot use provided binaries with Qt 5.7, they require Qt 5.9. However you can build from sources with your 5.7
-
@Konstantin-Tokarev i will try with QT5.7 webkit module.
-
@Konstantin-Tokarev thanks for you information ,or i will use MSVC binaries version of Qt5.7.