[Qt] MinGW 4.4 and 4.5 are unable to compile binding

Den Jean Den.Jean at telenet.be
Thu May 26 20:53:46 CEST 2011


Hi,

under windows the recent MinGWs (4.4 and 4.5) are
unable to compile the binding. MinGW 4.3 is able to
compile the same code. I will look into it, but 
everyone is also :-) welcome to also look into it. 
This will speed up the next release.

The MinGW for Qt 4.5 is MinGW 4.3
Qt 4.7 is supposed to use MinGW 4.4


I do not use MSVC, does anyone know whether MSVC can compile the binding ?


this is the error:
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-rel
oc -Wl,-s -shared -mthreads -Wl -Wl,--out-implib,libQt4Pas5.a -o Qt4Pas5.dll obj
ect_script.Qt4Pas  -L"c:\Qt\4.7.2\lib" tmp\Qt4Pas_resource_res.o -lQtWebKit4 -lQ
tGui4 -lQtNetwork4 -lQtCore4
Creating library file: libQt4Pas5.a
./tmp\qt4pas.o:qt4pas.cpp:(.text+0x3033e): undefined reference to `_imp___ZTV16Q
LCLMessageEvent'
./tmp\qt4pas.o:qt4pas.cpp:(.text+0x303a6): undefined reference to `_imp___ZTV16Q
LCLMessageEvent'
./tmp\qt4pas.o:qt4pas.cpp:(.text$_ZN16QLCLMessageEventD0Ev[QLCLMessageEvent::~QL
CLMessageEvent()]+0xb): undefined reference to `_imp___ZTV16QLCLMessageEvent'
./tmp\qt4pas.o:qt4pas.cpp:(.text$_ZN16QLCLMessageEventD1Ev[QLCLMessageEvent::~QL
CLMessageEvent()]+0xb): undefined reference to `_imp___ZTV16QLCLMessageEvent'
collect2: ld returned 1 exit status
mingw32-make: *** [Qt4Pas5.dll] Error 1

regards,

Den Jean




More information about the Qt mailing list