tishion / QCefView

Moved to CefView/QCefView
https://cefview.github.io/QCefView/
GNU Lesser General Public License v3.0
315 stars 115 forks source link

Don't support transparent html page #51

Closed winsoft666 closed 4 years ago

winsoft666 commented 4 years ago

attach file is a transparent html page, QCefView don't support render transparent backgroud.

lrc.zip

tishion commented 4 years ago

I don't think you can achieve the effect you want to do. You should know that the background is not rendered by the application not the browser engine. The browser content is drawn on the host widow which is a QWidget(actually a native window), so the background is drawn by the Qt UI framework. if you want the background to be transparent you need to change the Qt widget attribute and flags.

winsoft666 commented 4 years ago

as I konw, only windowless render mode support transparent.