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 toQObject::qt_property(int, int,
QVariant
)'
../../liblhmail.so: undefined reference to
QObject::customEvent(QCustomEvent*)' ../../liblhmail.so: undefined reference toQObject::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 toQObject::staticMetaObject()'
../../liblhmail.so: undefined reference to QObject::qt_cast(char const*)' ../../liblhmail.so: undefined reference toQGList::~QGList()'
../../liblhmail.so: undefined reference to QStringData::deleteSelf()' ../../liblhmail.so: undefined reference toQGList::compareItems(void,
void
)'
../../liblhmail.so: undefined reference to QApplication::translate(char const*, char const*, char const*, QApplication::Encoding) const' ../../liblhmail.so: undefined reference toQGList::read(QDataStream&,
void&)'
../../liblhmail.so: undefined reference to QGList::~QGList()' ../../liblhmail.so: undefined reference toQString::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 totypeinfo 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 toqApp'
../../liblhmail.so: undefined reference to QObject::insertChild(QObject*)' ../../liblhmail.so: undefined reference toLHExternalApp::staticMetaObject'
../../liblhmail.so: undefined reference to QObject::setName(char const*)' ../../liblhmail.so: undefined reference toQGList::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?