QT 4.0.0 gpl compile flop

bernard bernard.bru at laposte.net
Thu Jun 30 07:55:35 CEST 2005


Hi,
I was able to configure Qt by custumizing the virtual memory parameters 
file.
It took times but it works.
I got following message:

"Qt is now configured for building. Just run mingw32-make.
To reconfigure, run mingw32-make clean and configure"

Now, I try to compile, let's say in tutorial in directory t1
so I type mingw32-make and got following error message:
d:\mingw\bin\ld.exe: cannot find -lQtCored

////
Ok, perhaps I should compile Qt environment first, so I went to d:\Qt
and type mingw32-make, trace is:

cd src && mingw32-make all
d:\MinGW\bin\mingw32-make.exe[1]: Entering directory `d:/Qt/src'
cd winmain && d:/MinGW/bin/mingw32-make.exe all
d:\MinGW\bin\mingw32-make.exe[2]: Entering directory `d:/Qt/src/winmain'
d:/MinGW/bin/mingw32-make.exe -f Makefile.Debug all
mingw32-make.exe[3]: Entering directory `d:/Qt/src/winmain'
g++ -c -g -g -Wall -frtti -fexceptions -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT 
 -DQT_NEEDS_QMAIN -DQT_OPENSOURCE -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT 
 -I"D:/Qt/include" -I"tmp" -I"D:/Qt/include/QtCore" -I"D:\Qt\include\qtmain" 
 -I"tmp" -I"D:/Qt/include/ActiveQt" -I"tmp\moc\debug_shared" -I"." -I"." -I"D:\Qt\mkspecs\win32-g++" 
 -o tmp\obj\debug_shared\qtmain_win.o qtmain_win.cpp
ar -ru "D:/Qt/lib\libqtmaind.a" tmp\obj\debug_shared\qtmain_win.o
mingw32-make.exe[3]: Leaving directory `d:/Qt/src/winmain'
d:/MinGW/bin/mingw32-make.exe -f Makefile.Release all
mingw32-make.exe[3]: Entering directory `d:/Qt/src/winmain'
g++ -c -O2 -O2 -Wall -frtti -fexceptions -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT 
 -DQT_NEEDS_QMAIN -DQT_OPENSOURCE -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT 
 -DQT_NO_DEBUG -I"D:/Qt/include" -I"tmp" -I"D:/Qt/include/QtCore" -I"D:\Qt\include\qtmain" 
 -I"tmp" -I"D:/Qt/include/ActiveQt" -I"tmp\moc\release_shared" -I"." -I"." -I"D:\Qt\mkspecs\win32-g++" 
 -o tmp\obj\release_shared\qtmain_win.o qtmain_win.cpp
ar -ru "D:/Qt/lib\libqtmain.a" tmp\obj\release_shared\qtmain_win.o
mingw32-make.exe[3]: Leaving directory `d:/Qt/src/winmain'
d:\MinGW\bin\mingw32-make.exe[2]: Leaving directory `d:/Qt/src/winmain'
cd tools\moc && d:/MinGW/bin/mingw32-make.exe all
cd: can't cd to toolsmoc
d:\MinGw\bin\mingw32-make.exe[1]: *** [sub-tools\moc-all_ordered] Error 2
d:\MinGW\bin\mingw32-make.exe[1]: Leaving directory `d:/Qt/src'
mingw-make: *** [sub-src-all-ordered] Error 2

Oups, what's wrong now ?   There is no toolsmoc but tools\moc exists, an 
error in a script ?

Road is long.

Regards,

Bernard






More information about the kde-cygwin mailing list