Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in
read-only mode
.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Greetings!
I have an app which loads SVG files using QGraphicsView/Scene + QGraphicsSvgItem + QSvgRenderer. My app seems working with basic SVG files but when I load an "Inkscape" SVG file (with multiple items/shapes within it), it incorrectly renders them (there are black regions which are supposedly be "texts" and shapes/etc are not found in the right place). I am using Inkscape to create SVG files. I tried to use IE to check if the files are corrupted but it renders them correctly. I also used the SVG files in the "Inkscape tutorial" with NO success.
Is this a bug in the QSvgRenderer? are there any other alternatives?
Thanks and more powers!
QtSvg module uses SVGtiny specification only, it does not support full SVG standard, and is known to have numerous bugs.
Current recommendation is to use QtWebKit for rendering non-trival SVG files.