Important: Please read the Qt Code of Conduct -

Transparent QWebView: past page stay in background of new one

  • Hi everyone,

    I have a little app with a transparent QWebView displaying some HTML pages (they all have a style="background-color: transparent;" property on the body) over a QTabWidget with a font.

    The transparency is working, i can see the font of my QTabWidget beside the content of my QWebView. But when i load another page in the QWebView, the old one is still visible in the background of the new one. Like if the pages were just arranged one above the other and not closed.

    I dont know how to get rid of this behavior and from where it can come from!

Log in to reply