PDA

View Full Version : QT 4.1.3 nmake error



vvbkumar
21st June 2006, 16:45
hi,

I have recently upgraded to QT 4.1.3

qmake -project , and qmake commands are going on well :)

but when i "nmake" :( the following error is shooting up...

g++ -mthreads -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,windows -o "debug\sliddrag.exe" -L"d:\QT\4.1.3\lib"
-L"d:\QT\4.1.3\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4
D:\QT\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\ ..\mingw32\bin\ld.exe: cannot
find -lqtmaind collect2: ld returned 1 exit status
NMAKE : fatal error U1077: 'g++' : return code '0x1' Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\NMAKE.EXE"' : return code '0x2' Stop.

pl help me out :confused:

jacek
21st June 2006, 17:34
It seems that Qt was configured to use MinGW toolchain, instead of M$ one. Check the QMAKESPEC environment variable.