title: How to open svg file in QT (QGraphicsView)
body: <p>How to open svg file like png file.
  For example it works for png file:</p>
  
  <pre><code>scene=new QGraphicsScene(QRect(10, 10, 680, 520));  
  view=new QGraphicsView(this);
  image=new QGraphicsPixmapItem(QPixmap("example.png"));
  
  scene -&gt;addItem(image);   
  view -&gt;setScene(scene);   
  view -&gt;setGeometry(QRect(270, 35, 700, 540));
  </code></pre>
  
  <p>Any ideas?</p>