03.12.2020, 19:40, "Ramakanth Kesireddy" <[email protected]>:
> Ok Thanks for your mail.Shall check and update further.
> Is it by design QWebSettings is not thread safe or any means to make thread 
> safe?

WebCore by design is not thread safe. QWebView and all other classes from 
QtWebKitWidgets module use WebCore directly and so aren't thread safe too. You 
must call them from the same thread QWebView was created (and it should better 
be main GUI thread, i.e. where QApplication is created).

For comparison, QML API uses multi-process architecture so WebCore is used in a 
background process and minimizes blocking of GUI process (i.e. your 
application). Though that API is still not thread safe respective to threads in 
GUI process (though it might be reentrant).


-- 
Regards,
Konstantin
_______________________________________________
webkit-qt mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-qt

Reply via email to