It's not the right way to use SVG files, see QtSvg Module documentation.