我按照
http://blog.163.com/caichao07@126/blog/static/16355631020104574120364/的方法,配置Qt4.3.3+VC 6.0,试了很多次每次在configure.exe -debug-and-release时
出错,提示找不到“project.cpp”
错误如下:
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
C:\>cd Qt4.3.3 C:\Qt4.3.3>configure.exe This is the Qt/Windows Open Source Edition. You are licensed to use this software under the terms of
the GNU General Public License. Type '?' to view the GNU General Public License.
Type 'y' to accept this license offer.
Type 'n' to decline this license offer. Do you accept the terms of the license?
y
Environment:
INCLUDE=
C:\Program Files\Microsoft Visual Studio\VC98\Include
LIB=
C:\Program Files\Microsoft Visual Studio\VC98\Lib
PATH=
C:\WINDOWS\system32
C:\WINDOWS
C:\WINDOWS\System32\Wbem
C:\Program Files\Common Files\Thunder Network\KanKan\Codecs
C:\Program Files\StormII
C:\Qt4.3.3\bin
C:\Qt4.3.3\lib
C:\Qt4.3.3\qmake
C:\Program Files\StormII\Codec
C:\Program Files\StormII
C:\Qt4.3.3\bin
C:\Qt4.3.3\lib
C:\Qt4.3.3\qmake
C:\Qt4.3.3\include
C:\Program Files\Microsoft Visual Studio\VC98\Bin
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
You are licensed to use this software under the terms of the GNU GPL.
See C:/Qt4.3.3/LICENSE.GPL Configuration:
minimal-config
small-config
medium-config
large-config
full-config
build_all
debug
Qt Configuration:
release
debug
zlib
png
accessibility
qt3support
opengl
ipv6
minimal-config
small-config
medium-config
large-config
full-config QMAKESPEC...................win32-msvc (env)
Architecture................windows
Maketool....................nmake
Debug symbols...............yes
Accessibility support.......yes
STL support.................yes
Exception support...........yes
RTTI support................yes
MMX support.................no
3DNOW support...............no
SSE support.................no
SSE2 support................no
OpenGL support..............yes
Direct3D support............no
OpenSSL support.............no
QDBus support...............no
Qt3 compatibility...........yes Third Party Libraries:
ZLIB support............qt
GIF support.............plugin
TIFF support............plugin
JPEG support............plugin
PNG support.............qt
MNG support.............plugin Styles:
Windows.................yes
Windows XP..............no
Windows Vista...........no
Plastique...............yes
Cleanlooks..............yes
Motif...................yes
CDE.....................yes Sql Drivers:
ODBC....................no
MySQL...................no
OCI.....................no
PostgreSQL..............no
TDS.....................no
DB2.....................no
SQLite..................plugin (qt)
SQLite2.................no
InterBase...............no Sources are in..............C:\Qt4.3.3
Build is done in............C:\Qt4.3.3
Install prefix..............C:\Qt4.3.3
Headers installed to........C:\Qt4.3.3\include
Libraries installed to......C:\Qt4.3.3\lib
Plugins installed to........C:\Qt4.3.3\plugins
Binaries installed to.......C:\Qt4.3.3\bin
Docs installed to...........C:\Qt4.3.3\doc
Data installed to...........C:\Qt4.3.3
Translations installed to...C:\Qt4.3.3\translations
Examples installed to.......C:\Qt4.3.3\examples
Demos installed to..........C:\Qt4.3.3\demos Creating qmake... Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -IC:\Qt4.3.3\src\corelib\arch\generic -I
C:\Qt4.3.3\include -IC:\Qt4.3.3\include\QtCore -IC:\Qt4.3.3\include -IC:\Qt4.3.
3\include\QtCore -IC:\Qt4.3.3\src\corelib\global -IC:\Qt4.3.3\include\QtScript
-IC:\Qt4.3.3\mkspecs\win32-msvc -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT
_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFI
G_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT
_NO_DATASTREAM -DQT_NO_PCRE -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
fatal error C1083: Cannot open source file: 'project.cpp': No such file or direc
tory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop. Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. del qbitarray.obj
找不到 C:\qbitarray.obj
del qbuffer.obj
找不到 C:\qbuffer.obj
del qcryptograpichash.obj
找不到 C:\qcryptograpichash.obj
del qfsfileengine.obj
找不到 C:\qfsfileengine.obj
del qfsfileengine_iterator.obj
找不到 C:\qfsfileengine_iterator.obj
del qbytearray.obj
找不到 C:\qbytearray.obj
del qvsnprintf.obj
找不到 C:\qvsnprintf.obj
del qbytearraymatcher.obj
找不到 C:\qbytearraymatcher.obj
del qdatetime.obj
找不到 C:\qdatetime.obj
del qdir.obj
找不到 C:\qdir.obj
del qdiriterator.obj
找不到 C:\qdiriterator.obj
del qfile.obj
找不到 C:\qfile.obj
del qtemporaryfile.obj
找不到 C:\qtemporaryfile.obj
del qabstractfileengine.obj
找不到 C:\qabstractfileengine.obj
del qfsfileengine_win.obj
找不到 C:\qfsfileengine_win.obj
del qfsfileengine_iterator_win.obj
找不到 C:\qfsfileengine_iterator_win.obj
del qfileinfo.obj
找不到 C:\qfileinfo.obj
del qglobal.obj
找不到 C:\qglobal.obj
del qhash.obj
找不到 C:\qhash.obj
del qiodevice.obj
找不到 C:\qiodevice.obj
del qlistdata.obj
找不到 C:\qlistdata.obj
del qlocale.obj
找不到 C:\qlocale.obj
del qmap.obj
找不到 C:\qmap.obj
del qregexp.obj
找不到 C:\qregexp.obj
del qstring.obj
找不到 C:\qstring.obj
del qstringlist.obj
找不到 C:\qstringlist.obj
del qtextstream.obj
找不到 C:\qtextstream.obj
del qdatastream.obj
找不到 C:\qdatastream.obj
del quuid.obj
找不到 C:\quuid.obj
del qvector.obj
找不到 C:\qvector.obj
del qsettings.obj
找不到 C:\qsettings.obj
del qlibraryinfo.obj
找不到 C:\qlibraryinfo.obj
del qvariant.obj
找不到 C:\qvariant.obj
del qurl.obj
找不到 C:\qurl.obj
del qsettings_win.obj
找不到 C:\qsettings_win.obj
del qmetatype.obj
找不到 C:\qmetatype.obj
del project.obj
找不到 C:\project.obj
del main.obj
找不到 C:\main.obj
del makefile.obj
找不到 C:\makefile.obj
del unixmake.obj
找不到 C:\unixmake.obj
del unixmake2.obj
找不到 C:\unixmake2.obj
del mingw_make.obj
找不到 C:\mingw_make.obj
del option.obj
找不到 C:\option.obj
del winmakefile.obj
找不到 C:\winmakefile.obj
del projectgenerator.obj
找不到 C:\projectgenerator.obj
del property.obj
找不到 C:\property.obj
del meta.obj
找不到 C:\meta.obj
del makefiledeps.obj
找不到 C:\makefiledeps.obj
del metamakefile.obj
找不到 C:\metamakefile.obj
del xmloutput.obj
找不到 C:\xmloutput.obj
del borland_bmake.obj
找不到 C:\borland_bmake.obj
del msvc_nmake.obj
找不到 C:\msvc_nmake.obj
del msvc_dsp.obj
找不到 C:\msvc_dsp.obj
del msvc_vcproj.obj
找不到 C:\msvc_vcproj.obj
del msvc_objectmodel.obj
找不到 C:\msvc_objectmodel.obj
del pbuilder_pbx.obj
找不到 C:\pbuilder_pbx.obj
del qnumeric.obj -del qscriptasm.obj -del qscriptast.obj -del qscript
astvisitor.obj -del qscriptcompiler.obj -del qscriptecmaarray.obj -del qscrip
tecmaboolean.obj -del qscriptecmacore.obj -del qscriptecmadate.obj -del qscri
ptecmafunction.obj -del qscriptecmaglobal.obj -del qscriptecmamath.obj -del q
scriptecmanumber.obj -del qscriptecmaobject.obj -del qscriptecmaregexp.obj -d
el qscriptecmastring.obj -del qscriptecmaerror.obj -del qscriptcontext_p.obj
-del qscriptengine.obj -del qscriptengine_p.obj -del qscriptextenumeration.obj
-del qscriptextvariant.obj -del qscriptcontext.obj -del qscriptfunction.obj
-del qscriptgrammar.obj -del qscriptlexer.obj -del qscriptclassdata.obj -del
qscriptparser.obj -del qscriptprettypretty.obj -del qscriptsyntaxchecker.obj
-del qscriptvalue.obj -del qscriptvalueimpl.obj -del qscriptvalueiterator.obj 找不到 C:\qnumeric.obj
del vc60.pdb
找不到 C:\vc60.pdb
del vc70.pdb
找不到 C:\vc70.pdb
del qmake.pdb
找不到 C:\qmake.pdb
del qmake.ilk
找不到 C:\qmake.ilk
del qmake.tds
找不到 C:\qmake.tds Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved. cl -c -Foproject.obj -W3 -nologo -O2 -I. -Igenerators -Igenerators\uni
x -Igenerators\win32 -Igenerators\mac -IC:\Qt4.3.3\src\corelib\arch\generic -I
C:\Qt4.3.3\include -IC:\Qt4.3.3\include\QtCore -IC:\Qt4.3.3\include -IC:\Qt4.3.
3\include\QtCore -IC:\Qt4.3.3\src\corelib\global -IC:\Qt4.3.3\include\QtScript
-IC:\Qt4.3.3\mkspecs\win32-msvc -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT
_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFI
G_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT
_NO_DATASTREAM -DQT_NO_PCRE -DQMAKE_OPENSOURCE_EDITION project.cpp
project.cpp
fatal error C1083: Cannot open source file: 'project.cpp': No such file or direc
tory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
Building qmake failed, return code 2 C:\Qt4.3.3> ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////