Hi! I'm trying to paint a SVG in a QGraphicsItem in the paint event. I did it this way:
Qt Code:
  1. QSvgRenderer svg(QString("SCD_shadow.svg"), this);
  2. svg.render(painter);
To copy to clipboard, switch view to plain text mode 
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.
Thanks for any advice!