Witam.

Przerobiłem trochę bibliotekę LHMail aby chodziła na qt3support. Bez
problemowo kompiluje się do pliku lhmail.so ale gdy chcę tą bibliotekę
wykorzystać w innym programie wyskakuje mi coś takiego:


../../liblhmail.so: undefined reference to QGList::write(QDataStream&, void*) const' ../../liblhmail.so: undefined reference to QMetaObjectCleanUp::setMetaObject(QMetaObject*&)'
../../liblhmail.so: undefined reference to
QMetaObjectCleanUp::~QMetaObjectCleanUp()' ../../liblhmail.so: undefined reference to QObject::qt_property(int, int,
QVariant*)'
../../liblhmail.so: undefined reference to
QObject::customEvent(QCustomEvent*)' ../../liblhmail.so: undefined reference to QObject::qt_invoke(int,
QUObject*)'
../../liblhmail.so: undefined reference to QObject::qt_emit(int, QUObject*)' ../../liblhmail.so: undefined reference to QPtrCollection::newItem(void*)'
../../liblhmail.so: undefined reference to QObject::staticMetaObject()' ../../liblhmail.so: undefined reference to QObject::qt_cast(char const*)'
../../liblhmail.so: undefined reference to QGList::~QGList()' ../../liblhmail.so: undefined reference to QStringData::deleteSelf()'
../../liblhmail.so: undefined reference to QGList::compareItems(void*, void*)' ../../liblhmail.so: undefined reference to QApplication::translate(char
const*, char const*, char const*, QApplication::Encoding) const'
../../liblhmail.so: undefined reference to QGList::read(QDataStream&, void*&)' ../../liblhmail.so: undefined reference to QGList::~QGList()'
../../liblhmail.so: undefined reference to QString::replace(QString const&, QString const&)' ../../liblhmail.so: undefined reference to QObject::removeChild(QObject*)'
../../liblhmail.so: undefined reference to
QMetaObjectCleanUp::QMetaObjectCleanUp(char const*, QMetaObject* (*)())' ../../liblhmail.so: undefined reference to typeinfo for QPtrCollection'
../../liblhmail.so: undefined reference to QMetaObject::new_metaobject(char const*, QMetaObject*, QMetaData const*, int, QMetaData const*, int, QMetaProperty const*, int, QMetaEnum const*, int, QClassInfo const*, int)' ../../liblhmail.so: undefined reference to qApp'
../../liblhmail.so: undefined reference to QObject::insertChild(QObject*)' ../../liblhmail.so: undefined reference to LHExternalApp::staticMetaObject'
../../liblhmail.so: undefined reference to QObject::setName(char const*)' ../../liblhmail.so: undefined reference to QGList::clear()'
../../liblhmail.so: undefined reference to `QObject::checkConnectArgs(char
const*, QObject const*, char const*)'
collect2: ld returned 1 exit status
make: *** [smtp] Błąd 1


Z tego co widzę to brakuje mi obiektów z podstawowymi rzeczami? Programy w
czystym Qt4 kompilują się bezproblemowo. Jakieś sugestie co może być nie tak?