I am trying to build Qt Creator 2.0 for x64 on Windows using VS2008. I downloaded the Qt 4.7 source and built it for x64 using the VS2008 x64 command prompt without any issues. To build Qt Creator for x64 I created
a build folder and from that folder perform the following commands in the VS2008 x64 command prompt:
Qt Code:
  1. c:\Qt\qt-4.7.0-beta1-src\bin\qmake.exe c:\Qt\qt-creator-2.0.0-src\qtcreator.pro
  2. nmake
To copy to clipboard, switch view to plain text mode 
But I get the following error:
: error C2039: 'errorString' : is not a member of 'QDeclarativeComponent'
c:\qt\qt-4.7.0-beta1-src\include\qtdeclarative\../../src/declarative/qml
/qdeclarativecomponent.h(63) : see declaration of 'QDeclarativeComponent'
qmlprojectplugin.cpp
qmlprojectmanager.cpp
qmlprojectnodes.cpp
qmlprojectimportwizard.cpp
qmlprojectfile.cpp
qmlprojectruncontrol.cpp
qmlprojectrunconfiguration.cpp
qmlprojectrunconfigurationfactory.cpp
qmlprojectapplicationwizard.cpp
qmltaskmanager.cpp
qmlprojecttarget.cpp
qmloutputformatter.cpp
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\amd64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
I have also tried the following per the instructions in the README file included with the Qt Creator source
Qt Code:
  1. c:\Qt\qt-4.7.0-beta1-src\bin\qmake.exe "QT_PRIVATE_HEADERS=" c:\Qt\qt-creator-2.0.0-src\qtcreator.pro
To copy to clipboard, switch view to plain text mode 
and also
Qt Code:
  1. set QTCREATOR_WITH_QML=1
  2. c:\Qt\qt-4.7.0-beta1-src\bin\qmake.exe "QT_PRIVATE_HEADERS=c:\Qt\qt-4.7.0-beta1-src\include" C:\Qt\qt-creator-2.0.0-src\qtcreator.pro
To copy to clipboard, switch view to plain text mode 
All resulting in the same error posted above. Does anybody have any advice? I should also note that I have no need for QML support.