Unknown module(s) in QT: webenginewidgets
-
Yo yo. I'm having this exact same issue. Both with 6.8 and 6.5.3. I'm guessing same thing willl happen with 6.10 if I were to try it out... Can't install and use webenginewidgets. I just need a single browser window for rendering KaTeX and taking snapshots of it... Anyone know of a quickfix?
Windows 10, 64bit.
I only use Widgets-side for desktop apps.Same dealio with webchannel. All installed!
@enjoysmath Are you using Qt kit of MinGW? Webengine doesn't support MinGW, you must using MSVC kits.
(Refering to: https://doc.qt.io/qt-6/qtwebengine-platform-notes.html#windows)Note: Currently, Qt WebEngine does not compile with MinGW.
Qt Webengine module won't be installed on MinGW kit even you have it checked in the installer.
You also need to install Qt Webchannel and Qt positioning in Additional Libraries.
(Refering to: https://doc.qt.io/qt-6/qtwebengine-index.html)Note: By default, Qt WebEngine depends on the Qt Positioning and Qt WebChannel optional modules, but can be built without them. Be sure to install these add-ons when using the online installer.
With all these installed rightly (by online installer), I can use webenginewidgets with Qt 6.8.3 on Windows 10.
-
I use the installer gotten to via Qt Creator 18.0.0 > Tools > Qt Maintenance Tool > Start Maintenance Tool.
I have Qt WebEngineWidgets/Channels/Positioning installed now across the board. Do I need to include qt positining in the Qt += line of the .pro?
And yes, always trying MSVC first. So now I know now to even try out MinGW option...
-

-
Qt tools for visual studio made module selection easy, but I can't use it because another plugin is causing trouble during build.
-
@enjoysmath This looks like you don't have these module installed.
Are you sure you are using the right kit that these modules are installed?
How about show me a screenshot of the components list from the maintainance tool?
And is there any chance you have multiple kits installed and you are using the wrong one?@enjoysmath said in Unknown module(s) in QT: webenginewidgets:
Do I need to include qt positining in the Qt += line of the .pro?
No you don't need to.
-
I've tried all the kits, but now gonna try 6.10
-

-
Okay, I seem to have gotten past it using 6.10.
-
Okay, I seem to have gotten past it using 6.10.
@enjoysmath That's nice! But the version really shouldn't matter :)
-
@enjoysmath That's nice! But the version really shouldn't matter :)
Apparently it only works for 6.10 for me. Followed the same procedure for each version.