Hi! I'm trying to paint a SVG in a QGraphicsItem in the paint event. I did it this way:
Unfortunately nothing is rendered. I also tried with a specific rect, but still nothing is rendered. Any idea why? I tried to build a QSvgWidget and it works fine.Qt Code:
svg.render(painter);To copy to clipboard, switch view to plain text mode
Thanks for any advice!
Bookmarks