Web Engine in Qt

烈酒焚心 提交于 2019-12-24 04:48:08

问题


I have installed the new community version of Qt 5.8 using the Windows installer. Kits for mingw MSVC++ 2013. I have the compilers for msvc++ 2013. I have checked the webengine option too.

I was looking to make a simple browser in qt webengine and I get the error

error: Unknown module(s) in QT: webenginewidgets

I have used

QT += webenginewidgets

in the pro file and, run qmake and I'm still stuck with the same issue.

I am little bit confused since I cannot find anything that could help me anywhere.

What is it that I am doing wrong?

Should I install something else to get webengine or should I download the source and compile it? If so, how?

What is the simplest way to use webengine in Qt?


回答1:


I believe the new chromium no longer support the 2013 compiler and thus Qt also don't support 2013 compiler so download the 2015 MSVC compiler install it and use the 2015 binaries Kit for Qt 5.8 and every thing works just fine ..




回答2:


ReInstall Qt Creator and Make sure you Checked QtWebEngine at that time



来源:https://stackoverflow.com/questions/42324169/web-engine-in-qt

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!