Not able to build qt program -


13:42:04: running steps project untitled... 13:42:04: configuration unchanged, skipping qmake step. 13:42:04: starting: "c:\qt\qt5.0.2\tools\qtcreator\bin\jom.exe" c:\qt\qt5.0.2\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"..\..\..\..\5.0.2\msvc2012_64\include" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtwidgets" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtgui" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtcore" -i"debug" -i"." -i"." -i"..\..\..\..\5.0.2\msvc2012_64\mkspecs\win32-msvc2012" -fodebug\ @c:\users\nimisha\appdata\local\temp\main.obj.5148.297.jom 'cl' not recognized internal or external command, operable program or batch file. jom: c:\qt\qt5.0.2\tools\qtcreator\bin\build-untitled-desktop_qt_5_0_2_msvc2012_64bit-debug\makefile.debug [debug\main.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"..\..\..\..\5.0.2\msvc2012_64\include" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtwidgets" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtgui" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtcore" -i"debug" -i"." -i"." -i"..\..\..\..\5.0.2\msvc2012_64\mkspecs\win32-msvc2012" -fodebug\ @c:\users\nimisha\appdata\local\temp\mainwindow.obj.5148.656.jom 'cl' not recognized internal or external command, operable program or batch file.     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"..\..\..\..\5.0.2\msvc2012_64\include" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtwidgets" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtgui" -i"..\..\..\..\5.0.2\msvc2012_64\include\qtcore" -i"debug" -i"." -i"." -i"..\..\..\..\5.0.2\msvc2012_64\mkspecs\win32-msvc2012" -fodebug\ @c:\users\nimisha\appdata\local\temp\moc_mainwindow.obj.5148.890.jom 'cl' not recognized internal or external command, operable program or batch file. jom: c:\qt\qt5.0.2\tools\qtcreator\bin\build-untitled-desktop_qt_5_0_2_msvc2012_64bit-debug\makefile.debug [debug\mainwindow.obj] error 1 

these errors facing. have set path, downloaded still errors. project building stops in between , shows error...

this bit issue.

    'cl' not recognized internal or external command 

looks haven't got visual studio command line tools in path. can either use shortcut "open visual studio command prompt (2010)" installed, or command prompt run

    "c:\program files\microsoft visual studio 10.0\vc\vcvarsall.bat" x86 

these instructions vs 2010, if have 2012 you'll need change path accordingly.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -