[Solved] Undefined symbols: QSvgRenderer::render(QPainter*)
-
Hi there. I'm trying to compile an app on Mac OS X 10.4 using QT 4.6.3.
I get the error:
Undefined symbols:
QSvgRenderer::load(QByteArray const&)
QSvgRenderer::render(QPainter*)
QSvgRenderer::QSvgRenderer(QObject*)
QSvgRenderer::isValid() const
QSvgRenderer::viewBox() constWhen configuring QT I set the following image formats: -qt-libpng -qt-libmng -qt-libtiff -qt-libjpeg
So, am I getting this because I didn't include -qt-libsvg? libqsvg.a wound up in /usr/local/Trolltech/Qt-4.6.3/plugins/imageformats however.
Any advice is greatly appreciated. Thanks.
EDIT: Also, can I now, after having configured and built QT somehow add svg, gif etc.. to my current build without having to totally rebuild Qt?
-
This was resolved. Not sure how though, I simply unpacked the sources to my app and built again, compiled with no errors this time. Go figure.
Thank you for your reply!