Qt 6.11 is out! See what's new in the release
blog
QWebView stylesheet
General and Desktop
4
Posts
2
Posters
2.8k
Views
1
Watching
-
I want to apply custom stylesheet for QWebView for giving the background color . How to apply? Please help me
-
for example if you want to load it from qrc:
@
webViewWidget->settings()->setUserStyleSheetUrl( QUrl("qrc:/style.css") );
@ -
In css, how to give the background color to QWebView
-
something like this:
@
html, body
{
background-color: red;
}
@