我正在尝试构建Qt qt-everywhere-opensource-src-4.7.3 按照http://doc.qt.nokia.com/4.7/install-win.html的说明操作。我使用vcvars32.bat设置了visual studio 2008变量。
但是我在运行configure命令时遇到这样的错误:
生成代码...... link -OUT:qmake.exe project.obj main.obj makefile.obj unixmake.obj unixmake2.obj mingw_make.obj option.obj winmakefile.obj projectgenerator。 obj property.obj meta.obj makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.obj borland_bmake.obj msvc_nmake.obj msvc_vcproj.obj msvc_vcx proj.obj msvc_objectmodel.obj msbuild_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj symmake_abld.obj symmake_sbsv2.obj symbiancommon.obj registry.obj epocroot.obj qbitarray.obj qbuffer.obj qcryptographichash.obj qfsfileengine.obj qfsfileengine_iterator.obj qbytearray.obj qvsnprin tf.obj qbytearraymatcher.obj qdatetime.obj qdir.obj qdiriterator.obj qfile.obj qtemporaryfile.obj qabstractfileengine.obj qfsfileengine_win.ob j qsystemlibrary.obj qfsfileengine_iterator_win.obj qfileinfo.obj qglobal.obj qhash.obj qiodevice.obj qlist.obj qlinkedlist.obj qlocale.obj qmalloc.obj qmap.obj qregexp.obj qtextcodec.obj qutfcodec.obj qstring.obj qstringlist.obj qtextstream.obj qdatastream.obj quuid.obj qvector。 obj qsettings.obj qlibraryinfo.obj qvariant.obj qurl.obj qsettings_win.obj qmetatype.obj qxmlstream.obj qxmlutils.obj qnumeric.obj ole32.lib advapi32.lib qmake_pch.obj Microsoft(R)增量链接器版本9.00.30729.01 版权所有(C)Microsoft Corporation。保留所有权利。
复制qmake.exe G:\ c ++ \ qt \ qt4.7 \ qt-src-4.7.3 \ qt-everywhere-opensource-src-4.7.3 \ bin \ qmake.exe 该命令的语法不正确。
在src中创建makefile ... 生成Visual Studio项目文件......
执行:找不到文件或路径(G:\ c ++ \ qt \ qt4.7 \ qt-src-4.7.3 \ qt-everywhere-opensource-src-4.7.3 \ bin \ qmake)
Qmake失败,返回代码-1
生成Makefile ... 执行:找不到文件或路径(G:\ c ++ \ qt \ qt4.7 \ qt-src-4.7.3 \ qt-everywhere-opensource-src-4.7.3 \ bin \ qmake)
Qmake失败,返回代码-1
似乎它在复制命令上失败了。有什么问题?