Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QQuickWidget grabFramebuffer() return a QImage without Alpha
JCOrlando last edited by
Hi, I need to get a QImage with a transparent background from a QQuickWidget.
The QQuickWidget display correctly with a transparent background, but when I use grabFramebuffer() the returned QImage has a black background and no Alpha Channel.
I attached a picture to show the result, bottom part is the QQuickWidget, top part is the QImage. I would appreciate if someone could tell me if there is a way to get a transparent background. Thank you!
Diracsbracket last edited by
Can you post some minimal working code and your image so that it can be tried out?