Hello,
I have installed qt 4.7.2 and am trying to compile some of the sample applications in QtCreator 2.1.0. The applications compile fine with mingw compiler, but when I compile with jom or nmake the build fails.

Initially I got an error that cl could not be found; I have since added the VS path to my environment variable, and that error is gone. However it has been replaced by a more cryptic error.

Using jom:
Qt Code:
  1. jom 1.0.3 - empower your cores
  2.  
  3. command failed with exit code 128
  4. command failed with exit code 128
  5. command failed with exit code 2
  6. The process "C:\Nokia\QtSDK\QtCreator\bin\jom.exe" exited with code 2.
  7. Error while building project analogclock (target: Qt Simulator)
  8. When executing build step 'Make'
To copy to clipboard, switch view to plain text mode 

Using nmake, I get two U1077 errors: cl.exe returned 0x90 and nmake.exe returned 0x2. The application does not even attempt to compile.

Suggestions for what I am doing wrong?