I downloaded the whole qtSDK and installed it. Then i launched the qtCreator and try to run the Hello-World-Program as a qt console application. It didnt compile and said that it couldnt find "cl". So I researched on the internet and made a batch file containing

Qt Code:
  1. SET PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin
  2. start C:\QtSDK\QtCreator\bin\qtcreator.exe
To copy to clipboard, switch view to plain text mode 

That fixed the error about the missing "cl"-file, but the jom.exe still exits with code 2 and doesnt compile:

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

I hope you can help me.

PS: My program code looks like this, but i doubt, thats the problem:

Qt Code:
  1. #include <QtCore/QCoreApplication>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. QCoreApplication a(argc, argv);
  6.  
  7. return a.exec();
  8. }
To copy to clipboard, switch view to plain text mode 

I have installed VS 2010 Express Edition and am using Windows 7 64 bit OS.