We are trying to link an application on the MAC with static libraries. We have a static build of Qt 4.5.3.
We get 2 undefineds when linking our application (called qfire) namely:
Undefined symbols:
"qt_plugin_instance_qgif()", referenced from:
__Z23qt_plugin_instance_qgifv$non_lazy_ptr in qfire.o
"qt_plugin_instance_qjpeg()", referenced from:
__Z24qt_plugin_instance_qjpegv$non_lazy_ptr in qfire.o

We have specified in the .pro
QTPLUGINS += qgif qjpeg
and in the main cpp file
QIMPORT_PLUGIN(qgif)
QIMPORT_PLUGIN(qjpeg)

The libraries libqgif.a and libqjpeg.a are in the plugins/imageformats directory.

Any help from anyone would be greatly appreciated to avoid suicide before Christmas.