I am building Qt5 from Git using the article on the Qt site:
http://qt-project.org/wiki/Building_Qt_5_from_Git
I get this linker error:
.obj/debug-shared/qpnghandler.o: In function `QPngHandlerPrivate::readPngHeader()’:
/home/coppensc/qt5/qtbase/src/gui/image/qpnghandler.cpp:538: undefined reference to `png_set_longjmp_fn’
.obj/debug-shared/qpnghandler.o: In function `QPngHandlerPrivate::readPngImage(QImage*)’:
/home/coppensc/qt5/qtbase/src/gui/image/qpnghandler.cpp:564: undefined reference to `png_set_longjmp_fn’
.obj/debug-shared/qpnghandler.o: In function `QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int)’:
/home/coppensc/qt5/qtbase/src/gui/image/qpnghandler.cpp:818: undefined reference to `png_set_longjmp_fn# “
Anybody have any ideas how to solve this?
↧