Hello all.
I'm having some strange problems in porting Qt gui applications, in this case QtCreator 2.0 (I can't use QtCreator 1.31 due to some strange compatibility issues with the latest Qt 4.7.3, so I decided to try and port one of the last versions which do not require Qt >= 4.

.
I'm following, AFAIK, all the correct informations. Qt include files, Qt binaries and Qt libraries are in /usr/include/qt4, /usr/bin and /usr/lib/qt4 respectively. QTDIR is set on \usr\bin as well (I copied headers and libraries into places similar to those used in linux, to try and be more comfortable with unix makefiles).
After set MAKESHELL=cmd.exe qmake worked without problems, but after issuing make the result was this error message:
******
[U:\progetti\qt-creator-2.0.0-src]make
cd src && make -f Makefile
make[1]: Entering directory `U:/progetti/qt-creator-2.0.0-src/src'
cd libs && make -f Makefile
make[2]: Entering directory `U:/progetti/qt-creator-2.0.0-src/src/libs'
cd qtconcurrent && make -f Makefile
make[3]: Entering directory `U:/progetti/qt-creator-2.0.0-src/src/libs/qtconcurrent'
g++ -Zomf -Zstack 0x2000 -Zlinker "DISABLE 1121" -s -Zdll -Zhigh-mem -Zmap -o ..\..\..\lib\qtcreator\QtConcurrent.dll ..\..\..\lib\qtcreator\QtConcurrent.def -W
l,@OBJECTS.QtConcurrent.rsp -Lu:\usr\lib -Lu:\progetti\qt-creator-2.0.0-src\lib\qtcreator -lQtGui -lQtCore
weakld: cannot open library file 'u:\usr\lib\qt4\QtGui_s.a'.
emxomfld: weak prelinker failed. (rc=8)
make[3]: *** [..\..\..\lib\qtcreator\QtConcurrent.dll] Error 1
make[3]: Leaving directory `U:/progetti/qt-creator-2.0.0-src/src/libs/qtconcurrent'
make[2]: *** [sub-qtconcurrent-make_default-ordered] Error 2
make[2]: Leaving directory `U:/progetti/qt-creator-2.0.0-src/src/libs'
make[1]: *** [sub-libs-make_default-ordered] Error 2
make[1]: Leaving directory `U:/progetti/qt-creator-2.0.0-src/src'
make: *** [sub-src-make_default-ordered] Error 2
******
It seems that the linker is trying to access QtGui_s.a instead of QtGui4.lib, which is the library file in our Qt distribution.
I remember I was able to port some Qt 4 application with 4.5 and 4.6 release, but now I'm stuck and I don't know what the problem might be.
Some help, anyone?
Mentore