Fails to load QML extension using Qt’s SVG module
===

I created a QML extension plugin to use within my application, but it fails to load, showing the error:

    giieditor2-build-desktop-Qt_in_PATH_Release/giieditor2:
    symbol lookup error: /usr/lib/qt/imports/org/blowthemall/gii/libgii.so:
    undefined symbol: _ZN12QSvgRendererC1ERK7QStringP7QObject

The code for the plugin is very small (most part of it was written by the QtCreator code generator) and can be found here:

<https://code.google.com/p/blowthemall/source/browse/libbta/projects/qmlplugin.pro>
<https://code.google.com/p/blowthemall/source/browse/libbta/src/qmlplugin>

I added QT += svg to the plugin and the application using the plugin, but still fails to load. Can anyone point me something I’m missing?