QT 3.2.3 cygwin/XFree release available
Dr. Volker Zell
Dr.Volker.Zell@oracle.com
Mon Jan 12 10:07:00 GMT 2004
>>>>> "Ralf" == Ralf Habacker writes:
Ralf> Hi all,
Hi
Ralf> today the cygwin/XFree port of the QT 3.2.3 X11 release based on the recent
Ralf> cygwin release is ready containing binary and source package.
The following configure test for QT fails:
conftest.cc:
#include <qglobal.h>
#include <qapplication.h>
#include <qapp.h>
#include <qobjcoll.h>
#include <qstyle.h>
#if ! (QT_VERSION >= 220)
#error 1
#endif
int main() {
QStringList *t = new QStringList();
return 0;
}
11:04 AM [533]> g++ -o conftest.exe -g -O2 -I/opt/qt/3.2/include -I/usr/X11R6/include -L/opt/qt/3.2/lib -L/usr/X11R6/lib conftest.cc -lpthread -lqt-mt -lXext -lX11
/tmp/ccuqyFzd.o(.text$_ZN17QValueListPrivateI7QStringEC1Ev+0x58): In function `_ZNK6QGList5countEv':
/opt/qt/3.2/include/qglist.h:153: undefined reference to `QString::shared_null'
/tmp/ccuqyFzd.o(.text$_ZN17QValueListPrivateI7QStringEC1Ev+0x68):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QString::makeSharedNull()'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0xc):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QGList::clear()'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0x10):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QGList::~QGList [in-charge]()'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0x14):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QGList::~QGList [in-charge deleting]()'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0x18):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QPtrCollection::newItem(void*)'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0x20):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QGList::compareItems(void*, void*)'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0x24):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QGList::read(QDataStream&, void*&)'
/tmp/ccuqyFzd.o(.rdata$_ZTV6QGList+0x28):/opt/qt/3.2/include/qglist.h:153: undefined reference to `QGList::write(QDataStream&, void*) const'
collect2: ld returned 1 exit status
What is the right link command to link with qt-3.2.3 release ?
BTW the release is missing the qmake.conf file for the cygwin platform
Ralf> Have fun
Ciao
Volker
More information about the Cygwin-xfree
mailing list