I'm new using Qt5, and now I need your help. Maybe in a few weeks I could help someone ;).
I was trying to build a project what is already working, and I found this error:
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: C:\Users\YYYYYY\Desktop\build-XXXXXX-Desktop_Qt_5_3_MSVC2013_64bit-Debug\ZZZZZZ\Makefile.Debug [windows\hid.obj] Error 1
jom: C:\Users\YYYYYY\Desktop\build-XXXXXX-Desktop_Qt_5_3_MSVC2013_64bit-Debug\ZZZZZZ\Makefile [debug] Error 2
jom: C:\Users\YYYYYY\Desktop\build-XXXXXX-Desktop_Qt_5_3_MSVC2013_64bit-Debug\Makefile [sub-ZZZZZZ-make_first-ordered] Error 2
11:57:38: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project XXXXXX (kit: Desktop Qt 5.3 MSVC2013 64bit)
When executing step 'Make'
I copied the 'cl' application from Visual Studio folder to "C:\Qt\Tools\QtCreator\bin" but now I've the same problem except the first line "'cl' is not recognized as an internal or external command, operable program or batch file."
Visual Studio Express 2013
EDIT: I was reading the README file and I found this "This project was built and tested with the Qt 5.0.2 for Windows 32-bit (using the MinGW 4.7 compiler)". Could be that the problem?
You must set environment variables correctly.
For example in my desktop:
PATH=...;c:\Program Files\Microsoft Visual Studio 10.0\VC\bin;c:\Program Files\Microsoft SDKs\Windows\v7.0A\bin;c:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE;...
INCLUDE=c:\Program Files\Microsoft Visual Studio 10.0\VC\include;c:\Program Files\Microsoft SDKs\Windows\v7.0A\Include;
LIB=c:\Program Files\Microsoft Visual Studio 10.0\VC\lib;c:\Program Files\Microsoft SDKs\Windows\v7.0A\Lib;
VS100COMNTOOLS=C:\Program Files\Microsoft Visual Studio 10.0\Common7\Tools\
Thanks march to answer so quick,
Could you say me exactly where I should change those parameters?
Try in google: "set environment variable windows"
Sorry march, I change them but I'm afraid is not working.
Thanks anyway ;)
EDIT: I could build it, I had to configure again the project Thanks for your help :)
Hm, check your path details using my example. If you just copied my env vars values it's of course not working. I'm using MSVC2010 and it's version is 10.0 as you can see in path values (VS100COMNTOOLS - it's visual studio 10.0 version, c:\Program Files\Microsoft Visual Studio 10.0...)
If you using MSVC2013 64 bit (version compiler 12.0) it might be something like VS120COMNTOOLS,
c:\Program Files\Microsoft Visual Studio 12.0 etc
I repeat - check your paths.
You can run cmd(Start->Run->type 'cmd') and type ">cl" - to check is system can find this.
Note. If you change your PATH and other vars you must reboot PC
It can't no possible, I just come back from two weeks off, turn the pc on and now I've the same problem. :S
@Pekotte So did you ever fix it?