I upgraded to Qt 4.8.6 and compiled on Ubuntu 14.04 and Intel icc - this time I get undefined references . I do have libpng1.6.18 installed under /usr/local/lib and it is there on my LD_LIBRARY_PATH.

Any suggestions ?


cd src/gui/ && make -f Makefile
make[1]: Entering directory `/home/qt-everywhere-opensource-src-4.8.6/src/gui'
rm -f libQtGui.so.4.8.6 libQtGui.so libQtGui.so.4 libQtGui.so.4.8
i
.obj/release-shared/qpnghandler.o: In function `QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int)':
image/qpnghandler.cpp.text+0x207): undefined reference to `png_set_longjmp_fn'
.obj/release-shared/qpnghandler.o: In function `QPngHandlerPrivate::readPngImage(QImage*)':
image/qpnghandler.cpp.text+0x1c20): undefined reference to `png_set_longjmp_fn'
.obj/release-shared/qpnghandler.o: In function `QPngHandlerPrivate::readPngHeader()':
image/qpnghandler.cpp.text+0x212d): undefined reference to `png_set_longjmp_fn'
make[1]: *** [../../lib/libQtGui.so.4.8.6] Error 1
make[1]: Leaving directory `/home/qt-everywhere-opensource-src-4.8.6/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2