Unable to load module QWebEngineWidgets on Qt 5.8
As the title says, qmake is unable to find webenginewidgets when it checks my qt project file. Is there a way to fix this? I am running Qt 5.8 and I have added QT += webenginewidgets to my .pro file.
As far as I know its not available for mingw.
Only for visual studio
So that might be why ?
I am on MSVC
Ok. not that then :)
did you rerun qmake? did you install qt webengine (i.e. can you find it in the bin folder of qt)?
Oh, @VRonin is spot on. It's possible not to install it :)
Did you check it for installtion ?
Maybe QtWebEngine component was not installed correctly.
Go to your Qt 5.8 binaries folder (in my case is C:\Qt\Qt5.8.0\5.8\msvc2015\bin) and check if you have the QtWebEngine components there, the image below shows those components highlighted in red.
If you don't have those components installed in your file system open the Maintenance Tool (located in C:\Qt\Qt5.8.0 in my case) and add it those components checking the option highlighted in red in the image below
P.S.: Maybe the MaintenanceTool will require you to add a repository to install the QtWebEngine's components add an User Repository with Url http://download.qt.io/online/qt5/windows/x86/online_repository
I hope that it helps you