The QSvg classes are part of Qt and your problem seems to be, that your version of Qt has not been built with SVG support. So if you want to use the SVG classes you have to rebuild Qt.

Uwe