Error when builing Qt from source on winxp
-
0 down vote favorite
im trying to build the Qt qt-everywhere-opensource-src-4.7.3 following the instructions from http://doc.qt.nokia.com/4.7/install-win.html
set the visual studio 2008 variables using vcvars32.bat. but im getting errors like this when running configure command:
@Generating Code...
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) Incremental Linker Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.copy qmake.exe G:\c++\qt\qt4.7\qt-src-4.7.3\qt-everywhere-opensource-src-4.7.3\bin\qmake.exe
The syntax of the command is incorrect.
Creating makefiles in src...
Generating Visual Studio project files...
execute: File or path is not found (G:\c++\qt\qt4.7\qt-src-4.7.3\qt-everywhere-opensource-src-4.7.3\bin\qmake)
Qmake failed, return code -1Generating Makefiles...
execute: File or path is not found (G:\c++\qt\qt4.7\qt-src-4.7.3\qt-everywhere-opensource-src-4.7.3\bin\qmake)
Qmake failed, return code -1@seams like it fail on copy command .. why ?
-
After which step does the problem occur?
Is this already during the configure? -
[quote author="koahnig" date="1305884572"]After which step does the problem occur?
Is this already during the configure?[/quote]seems like yes, as qmake is build during configure
can you please post your configure parameters?
-
My first advice would be to try configure with the shortcut VS provides for cmd (from the start menu).
And you also you might take a look at the already "built with Visual Studio 2008 Qt framework":http://qt.nokia.com/downloads/windows-cpp-vs2008 and see if it provides what you need (and saves you about 3 hours to build the framework).
-
it is bug with the copy command , it has problem with the ++ sign in the path