Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
4.8.5
-
None
-
Tested on MacOS 10.8.4
-
4b815774358c3c981dc8bbbcb0dd68abe2e812f2
Description
There's a problem with SVG rendering with the QSvgRenderer. Transparency is not rendered correctly; areas supposed to be transparent, are displayed as gray/white. Provided example code is used in rendering SVG-graphics. Attached SVG file can be used to verify the problem.
QSvgRenderer renderer(svgFileName);
m_pixmap = QPixmap(renderer.defaultSize());
m_pixmap.fill(Qt::transparent);
QPainter painter(&m_pixmap);
renderer.render(&painter);
This bug was closed as fixed in 4.6 (QTBUG-4908) but still persists.