Solved QWebEngine will not work!
-
Hi All
I am desparate to use qwebenginewidgets to scrape data from a website.
However, I get the error;
Project ERROR: Unknown module(s) in QT: webenginewidgets
When adding to the .pro file.
I am using QT Creator 4.4.1 with QT 5.9.2, and MinGW 5.9.2 32bit
Has anyone got any ideas how I get this to work?
J
-
Any chance you can switch to MSVC, maybe just using the build tools?
-
@VRonin Can you run me through how to do that?
-
Download and install the MSVC build tools, launch the maintenancetool on your Qt installation and install Qt for MSVC
-
@VRonin Where do I download the MSVC build tools from (for free...)
-
@James-Sprinks @VRonin already posted the link in his first response here
-
@jsulm Oh yes, sorry!
-
There doesn't seem to be a QT Maintainance tool on my installation, do I need to install from scratch?
-
@James-Sprinks Did you use the offline installer to install Qt?
Using online installer will give you maintenance tool in c:\Qt -
@jsulm Online, it has not appeared in my start menu...
-
@James-Sprinks Simply use Windows Explorer, go to c:\Qt and start it from there.
-
@jsulm Found it, it is saying I need one valid and enabled repository for this action to succeed...
-
This post is deleted! -
@James-Sprinks This is strange, it should actually work. If not you can try this tool to select a repository: https://github.com/JKSH/QtSdkRepoChooser
-
@jsulm Ok it seems to be updating. Is it possible to change the compiler from MWinGW to MSVC with an existing project?
-
@James-Sprinks said in QWebEngine will not work!:
Is it possible to change the compiler from MWinGW to MSVC with an existing project?
Sure. Simply select different Kit in QtCreator.
-
@jsulm I am getting a ":-1: error: msvc-version.conf loaded but QMAKE_MSC_VER isn't set" error
-
Ok, this is getting ridiculous. I am starting again from scratch. Can anyone tell me which version of Qt to install, which version of MSVC build tools to install, and how to make this work.
Surely it should be that hard?
J
-
"Build Tools for Visual Studio 2017" requires Qt 5.* for MSVC 2017
-
@VRonin Ok. So can someone tell me how to set this as a comiler for a project - without getting all of the errors I have previously mentioned...