QWebEngineView background color before calling setHtml
Unsolved
General and Desktop
-
When my QWebEngineView first appears, its background is white. When I load my HTML into it, it has a black background because I'm detecting dark mode and adjusting to that.
Is there a way to ensure that I need see the brief flash of white when my UI is supporting dark mode?
I tried website->setBackgroundColor(0) but there is no such method.