Unknown module(s): webengine webenginewidgets
Solved
Mobile and Embedded
-
Hi!
I'm trying to make an app with WebView. Added this to the .pro file :QT += quick network core webengine webenginewidgets
and I get error:
Unknown module(s) in QT: webengine webenginewidgets
Why do I get an error? And how do I add the WebView module correctly?
-
Hi,
What compiler are you using ?
-
On what OS ?
How did you install Qt ? -
If you are going to use WebView you should not add
... webengine webenginewidgets
butQT += quick network core webview
. Also, as the docs point out, you have to addQtWebView::initialize()
afterQGuiApplicarion app(arc, argv); QtWebView::initialize();