Hi all,

I have installed Qt4 and Qt Creator 5.0.1 but when I build an example program to test it I get the following error.

10:58:56: Running steps for project basiclayouts...
10:58:56: Starting: "C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\qmake.exe" C:\Qt\Qt5.0.1\5.0.1\msvc2010\examples\widgets\layo uts\basiclayouts\basiclayouts.pro -r -spec win32-msvc2010 "CONFIG+=debug" "CONFIG+=declarative_debug" "CONFIG+=qml_debug"
10:58:58: The process "C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\qmake.exe" exited normally.
10:58:58: Starting: "C:\Qt\Qt5.0.1\Tools\QtCreator\bin\jom.exe"
C:\Qt\Qt5.0.1\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\include" -I"..\..\..\..\include\QtWidgets" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\project\AppData\Local\Temp\dialog.obj.49 48.31.jom
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: C:\Qt\Qt5.0.1\5.0.1\msvc2010\examples\widgets\layo uts\basiclayouts-build-Desktop_Qt_5_0_1_MSVC2010_32bit-Debug\Makefile.Debug [debug\dialog.obj] Error 1
cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\include" -I"..\..\..\..\include\QtWidgets" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\..\mkspecs\win32-msvc2010" -Fodebug\ @C:\Users\project\AppData\Local\Temp\main.obj.4948 .62.jom
C:\Qt\Qt5.0.1\5.0.1\msvc2010\bin\moc.exe -DUNICODE -DWIN32 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_ES_2 -DQT_OPENGL_ES_2_ANGLE -I"..\..\..\..\include" -I"..\..\..\..\include\QtWidgets" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include\QtCore" -I"debug" -I"." -I"..\..\..\..\mkspecs\win32-msvc2010" -D_MSC_VER=1600 -DWIN32 ..\basiclayouts\dialog.h -o debug\moc_dialog.cpp
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: C:\Qt\Qt5.0.1\5.0.1\msvc2010\examples\widgets\layo uts\basiclayouts-build-Desktop_Qt_5_0_1_MSVC2010_32bit-Debug\Makefile.Debug [debug\main.obj] Error 1
jom: C:\Qt\Qt5.0.1\5.0.1\msvc2010\examples\widgets\layo uts\basiclayouts-build-Desktop_Qt_5_0_1_MSVC2010_32bit-Debug\Makefile [debug] Error 2
10:58:59: The process "C:\Qt\Qt5.0.1\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project basiclayouts (kit: Desktop Qt 5.0.1 MSVC2010 32bit)
When executing step 'Make'

Please help I dont kno how to fix it as I am new to Qt.
Thanx.