Qt Creator - how do I configure build steps for VC++
I have installed the Qt Creator.
I usually use qmake and nmake from a command prompt with Notepad++.
I want to use Qt Creator but I am stumbling on how to configure the build steps for using nmake.
Does anyone else use Qt Creator and the MS VC++ compiler?
Any information on this would be much appreciated.
P.S. - I do not care much about the debugger at the moment.
~Cheers,
Quid
Re: Qt Creator - how do I configure build steps for VC++
Yes, i`m using QtCreator with VC++ 2008 Express but i don`t remember doing anything special to configure it. I think it uses the QMAKESPEC variable in the Enviroment Variables (win32-msvc2008) to know how to build the project (with nmake in particular). I can`t find an option to configure what command to use for compiling.
Re: Qt Creator - how do I configure build steps for VC++
So QtCreator does qmake and nmake steps properly right out of the box?
My qmake works fine but nmake is having problems.
Code:
Running build steps for project generic...
Starting: C:/qt/4.5.0/bin/qmake.exe C:/src/Doc 2.0/generic/generic.pro -spec win32-msvc2008 -r
Exited with code 0.
Starting: C:/Program Files/Microsoft Visual Studio 9.0/VC/bin/nmake.exe
"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" -f Makefile.Release
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -nologo -Zm200 -Zc:wchar_t- -O2 -MD -GL -W1 -w34100 -w34189 -GR -EHsc -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_SQL_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\qt\4.5.0\include\QtCore" -I"..\..\..\qt\4.5.0\include\QtGui" -I"..\..\..\qt\4.5.0\include\QtOpenGL" -I"..\..\..\qt\4.5.0\include\QtSql" -I"..\..\..\qt\4.5.0\include\QtWebKit" -I"..\..\..\qt\4.5.0\include" -I"..\..\..\Qt\qttoolbardialog-2.0-commercial\src" -I"..\..\..\Qt\qtsingleapplication-2.2-commercial\src" -I"." -I"include" -I"..\..\..\usr\incl" -I"..\..\..\usr\incl\cvi" -I"..\win32\tmp\ui" -I"..\win32\include" -I"..\UD7900\include" -I"..\..\..\Qt\qwt-5.1.0\src" -I"..\..\..\Qt\qtwinmigrate-2.3-commercial\src" -I"..\..\..\Qt\qttoolbardialog-2.0-commercial\src" -I"..\..\..\Qt\qtcalendarwidget-2.0-commercial\src" -I"..\..\..\qt\4.5.0\include\ActiveQt" -I"tmp\moc" -I"tmp\ui" -I"..\..\..\qt\4.5.0\mkspecs\win32-msvc2008" -Fotmp\obj\ @C:\DOCUME~1\Matt\LOCALS~1\Temp\nm1B6.tmp
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.EXE"' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe"' : return code '0x2'
Stop.
Exited with code 2.
Error while building project generic
When executing build step 'Make'
Re: Qt Creator - how do I configure build steps for VC++
I had this same exact problem but I thought it was because I needed a full version of VC++ (not VC++ 2008 Express).