[Development] Using native webview on OS X

Morten Sørvig Morten.Sorvig at qt.io
Tue Jan 23 15:09:02 CET 2018



> On 22 Jan 2018, at 18:22, Alberto Mardegan <mardy at users.sourceforge.net> wrote:
> 
> On 22/01/2018 18:49, Konstantin Tokarev wrote:
>> From [1] it seems like QT_MAC_USE_NATIVE_WEBVIEW environment variable
>> is required to use native backend.
>> 
>> [1] https://codereview.qt-project.org/#/c/162337/
> 
> Yes, but still QtWebEngine is required, as QtWebView is linking to it.
> I've now removed a few lines of code here and there and got a version of
> QtWebView which builds fine under macos without being linked to QtWebEngine.
> I'll soon try to see if it actually works.
> 
> Ciao,
>  Alberto


The QtWebEngine requirement does seem to run counter to the purpose of the QtWebView module.

It’s not really clear from the history what happened, but I think we can restore the original behavior:

https://codereview.qt-project.org/#/c/217706/

Morten


More information about the Development mailing list