No, compilation fails:
@
/mnt/temporanea/qt-everywhere-opensource-src-4.6.3/lib/libQtGui.a(qpnghandler.o): In function QPngHandlerPrivate::readPngHeader()': qpnghandler.cpp:(.text+0x866): undefined reference to png_set_longjmp_fn'
/mnt/temporanea/qt-everywhere-opensource-src-4.6.3/lib/libQtGui.a(qpnghandler.o): In function QPngHandlerPrivate::readPngImage(QImage*)': qpnghandler.cpp:(.text+0xffb): undefined reference to png_set_longjmp_fn'
/mnt/temporanea/qt-everywhere-opensource-src-4.6.3/lib/libQtGui.a(qpnghandler.o): In function QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int)': qpnghandler.cpp:(.text+0x1fc1): undefined reference to png_set_longjmp_fn'
collect2: ld returned 1 exit status
@