Hi,
I want to use svg graphics in my QGraphicsView and so I found the QGraphicsSvgItem Class quickly.
Qt Code:
scene.addItem(&item);To copy to clipboard, switch view to plain text mode
It finds the file, but cannot load it:
I created the svg file with inkscape so I thought it uses maybe a different svg syntax or something. So I used a svg of wikipedia, but had the same problem.Cannot open file ':/standard.svg', because: Unknown error
I use Qt 4.3.0.
Do you have an idea what I'm doing wrong?
EDIT: I forgot to mention: Same problem if I use a QSvgRenderer.
Bookmarks