[Development] Using native webview on OS X

Alberto Mardegan mardy at users.sourceforge.net
Mon Jan 22 16:36:54 CET 2018


Hi all!
  I've developed a desktop application which uses the WebView QML
module, with the hope of publishing it in the Apple store. However,
unless I am seriously mistaken, this is just not possible (or maybe the
documentation needs some serious love).

No matter what I try, it seems that QtWebEngine is always required!

If I simply remove QtWebEngine from my Qt installation, building the
application succeeds but then when I run it I get the same error as in
https://bugreports.qt.io/browse/QTBUG-63107

If I look at src/webview/qtwebviewfunctions.cpp it looks like the
decision to use the native webview vs QtWebEngine is done at runtime,
but for some reason it looks like one still needs to have QtWebEngine
available in order for QtWebView to build successfully. With the obvious
consequence that one won't be able to publish one's app into the Apple
store.

Is there some reason why the QtWebEngine support library isn't dlopen'ed
at runtime? Can I file a bug about that?

Ciao,
  Alberto



More information about the Development mailing list