各位大侠,我第一次用qt.安装论坛上的帖子装好后,在编译helloworld程序最后一步:nmake后出错了,这是nmake后的显示的信息:
E:\My Documents\Work_Space\My_Project\qtHelloWorld>qmake -project -o qt_helloworld.pro
E:\My Documents\Work_Space\My_Project\qtHelloWorld>qmake
E:\My Documents\Work_Space\My_Project\qtHelloWorld>nmake
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE -f Makefile.Debug
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl -c -nologo -Zm200 -Od -ZI -Gm -MDd -GR -GX -W3 -DUNICODE -DQT_LARGEFI
LE_SUPPORT -DWIN32 -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"D:
/qt-4.2.3/include/QtCore" -I"D:/qt-4.2.3/include/QtCore" -I"D:/qt-4.2.3/include/
QtGui" -I"D:/qt-4.2.3/include/QtGui" -I"D:/qt-4.2.3/include" -I"." -I"D:/qt-4.2.
3/include/ActiveQt" -I"debug" -I"." -I"d:\qt-4.2.3\mkspecs\win32-msvc" -Fodebug\
@C:\DOCUME~1\Jiu_Yan\LOCALS~1\Temp\nma02172.
qt_helloworld.cpp
link /LIBPATH:"d:\qt-4.2.3\lib" /NOLOGO /DEBUG /SUBSYSTEM:WINDOWS /incre
mental:no /OUT:"debug\hello.exe" @C:\DOCUME~1\Jiu_Yan\LOCALS~1\Temp\nmb02172.
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specifi
cation
LINK : fatal error LNK1181: cannot open input file "qtmain.lib"
NMAKE : fatal error U1077: 'link' : return code '0x49d'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio\VC98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.
我在google上找半天也没找出什么原因,哪位知道是怎么回事吗?