How to Install or use a Webkitwidgets?
-
@Morado said in How to Install or use a Webkitwidgets?:
I already installed the WebEngine with the installer and MSVC2019
I believe Qt WebEngine isn't compatible with MinGW, so it needs MSVC on Windows.
I see from your screenshot that you installed Qt 5.15.1 > MinGW 8.1.0 64-bit. However, you might need to install Qt 5.15.1 > MSVC 2019 64-bit
Also, remember to add the Qt WebEngine Widgets module to your project. See https://doc.qt.io/qt-5/qtwebengine-module.html and https://doc.qt.io/qt-5/qtwebenginewidgets-module.html (You must add
QT += webengine webenginewidgets
to your *.pro file) -
@Morado said in How to Install or use a Webkitwidgets?:
I can´t select it now
Then check that Kit in "Options..." - it probably has some issues.
Also, did you install Visual Studio with C++? -
Hi,
You need to install Visual Studio. It's not something the Qt installer can do for you as Microsoft forbids that.
-
@Morado said in How to Install or use a Webkitwidgets?:
I already have Visual Studio installed
Which version?
Make sure you select the C++ Build Tools from the Visual Studio installer. This contains the C++ compiler.
Mm this?
No, not this. These are the Redistributable libraries; they are not the Visual Studio IDE and compiler.
Visual Studio is downloadable from https://visualstudio.microsoft.com/downloads/
-
Wow! The lucky you!
What about us, using Python, do we need to install C++ too? -
@Andrew-K-Kabaghe hi and welcome to devnet, if you are thinking about using the Qt WebKit module from Python then you are likely out of luck because that module has not been released with any PySide2 release.
In any case, you should open your own thread about your issue.