02.12.2020, 13:11, "Ramakanth Kesireddy" <[email protected]>:
> Hi,
>
> Do we need to initialize QWebcore to load the stylesheet fast for the first 
> time?

No. However, stylesheet may work faster if it's referenced as CSS file from 
page itself instead of being user stylesheet (e.g. using file:/ or qrc:/ url).

>
> In UI app, user stylesheet is being set from child or worker pthread where 
> QApplication instance is created unlike sample app. Not sure if it makes any 
> difference in applying the stylesheet though.

QWebSettings must be used in the same thread where QWebPage/QWebView were 
created, it is not thread-safe.

>
> Inorder to debug further in Qtwebkit sources and use QWebInspector with 
> UIApp, do we need to use Debug mode in cmake build type?

No, inspector is intended to be fully functional in release builds.


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

Reply via email to