[Development] Using native webview on OS X

Konstantin Tokarev annulen at yandex.ru
Tue Jan 23 15:11:52 CET 2018



23.01.2018, 17:09, "Morten Sørvig" <morten.sorvig at qt.io>:
>>  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/

There was a discussion about run-time plugins in QtWebView, if they were implemented it won't be
a problem to load and use QtWebEngine backend if it is really needed, and avoid it otherwise

>
> Morten

-- 
Regards,
Konstantin



More information about the Development mailing list