QT webengine installation issues
-
Hi there,
I want to use QT 5.9 and webengine with webview (as I understood, webview now is in webengine). So what I did is installed 5.9 with this setup:
After the installation finished, I couldn't locate the webkit .pri:
This is what I get when trying to build:
:-1: error: Unknown module(s) in QT: webengine
Couldn't find any normal Windows installation manual, so have to ask.
Thank you
-
Okay, I decided not to proceed with the QT Creator since it seems to be special in a way. I found out that webengine is, actually there in the msvc2015_64 package of the 5.9. So I moved to msvc 2015.
In msvc I encountered another issue:
No reason given for this behavior. I do have Win10 sdk, Python, Bison, Flex and gperf installed. Anyways, I tried to work with this setup and I can do everything till I try to add the web widget to the form. Once I do that, it starts crashing. No wonder. It's just I didn't expect to see the widget in the designer.
Anyway, I'm gonna try to go back a few versions to the times when qt still had the webkit instead of this awkward webengine. Will see how it works. Hope webkit requires less magic to work.
-
Hi and welcome to devnet,
The QtWebEngine module is only available with MSVC 2015 and higher. This has nothing to do with Qt but with the backend used.
If you'd like to use QtWebKit then you should consider @Konstantin-Tokarev's reboot here.