Qt Code:
  1. QwtPlot myPlot;
  2. //...
  3.  
  4. QwtPlotSvgItem bla("test");
  5. // https://upload.wikimedia.org/wikipedia/commons/0/02/SVG_logo.svg
  6. if (!bla.loadFile(QRectF(0,0,640,480), "e:/SVG_logo.svg"))
  7. qDebug("fail to load?");
  8. else
  9. qDebug("load OK");
  10.  
  11. bla.attach(myPlot);
To copy to clipboard, switch view to plain text mode 

Also a stripped down svg fails:

Qt Code:
  1. <?xml version="1.0" ?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  3. <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 100 100">
  4. <rect
  5. id="background"
  6. fill="#FF9900"
  7. width="100"
  8. height="100"
  9. rx="4"
  10. ry="4"/>
  11. </svg>
To copy to clipboard, switch view to plain text mode 

Fails means: it is not displayed. It loads fine (true is returned).