Congratulations to our 2022 Qt Champions!

QSvgGenerator rendering QGraphicsSvgItems with thick outlines

  • Hello all,

    I'm looking for a workaround to the issue where QGraphicsSvgItems when rendered to an SVG file using QSvgGenerator have thick borders/outlines around them. This is related to bug but it doesn't seem to be moving forward so I'd like to check if anyone found any workarounds in the meantime.

    Basically I load an .svg file into the QGraphicsSvgItem and then add to to a QGraphicsScene. I then use a QPainter from QSvgGenerator to save everything to an SVG file. Any ideas?

Log in to reply