Qt Creator: Unable to build any project
Hello everyone,
Everytime I try to build a project on my home Windows machine I get the following error:
23:06:36: Running steps for project calqlatr...
23:06:37: Starting: "C:\Qt\5.7\msvc2015_64\bin\qmake.exe" C:\Qt\Examples\Qt-5.7\quick\demos\calqlatr\calqlatr.pro -r -spec win32-msvc2015 "CONFIG+=debug" "CONFIG+=qml_debug"
23:06:37: The process "C:\Qt\5.7\msvc2015_64\bin\qmake.exe" exited normally.
23:06:37: Starting: "C:\Qt\Tools\QtCreator\bin\jom.exe"
C:\Qt\Tools\QtCreator\bin\jom.exe -f Makefile.Debug
cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -Zi -MDd -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -EHsc /Fddebug\calqlatr.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I..\calqlatr -I. -IC:\Qt\5.7\msvc2015_64\include -IC:\Qt\5.7\msvc2015_64\include\QtQuick -IC:\Qt\5.7\msvc2015_64\include\QtGui -IC:\Qt\5.7\msvc2015_64\include\QtANGLE -IC:\Qt\5.7\msvc2015_64\include\QtQml -IC:\Qt\5.7\msvc2015_64\include\QtNetwork -IC:\Qt\5.7\msvc2015_64\include\QtCore -Idebug -IC:\Qt\5.7\msvc2015_64\mkspecs\win32-msvc2015 -Fodebug\ @C:\Users\Martijn\AppData\Local\Temp\main.obj.9168 .16.jom
'cl' is not recognized as an internal or external command,
operable program or batch file.
jom: C:\Qt\Examples\Qt-5.7\quick\demos\build-calqlatr-Desktop_Qt_5_7_0_MSVC2015_64bit-Debug\Makefile.Debug [debug\main.obj] Error 1
C:\Qt\5.7\msvc2015_64\bin\rcc.exe -name calqlatr ..\calqlatr\calqlatr.qrc -o debug\qrc_calqlatr.cpp
C:\Qt\5.7\msvc2015_64\bin\rcc.exe -name shared ..\..\shared\shared.qrc -o debug\qrc_shared.cpp
jom: C:\Qt\Examples\Qt-5.7\quick\demos\build-calqlatr-Desktop_Qt_5_7_0_MSVC2015_64bit-Debug\Makefile [debug] Error 2
23:06:37: The process "C:\Qt\Tools\QtCreator\bin\jom.exe" exited with code 2.
Error while building/deploying project calqlatr (kit: Desktop Qt 5.7.0 MSVC2015_64bit)
When executing step "Make".
Now the weird thing is that whenever I run Qt Creator on my virtual machine on the same system everything works jst fine. Reinstalling did not work for me either. I have google my ass of but with no luck so far. Can anyone please help?
--
Martijn
Re: Qt Creator: Unable to build any project
Have you checked the PATH environment (projects -> build environment) if it contains the directory where cl.exe is located in?
Cheers,
_
Re: Qt Creator: Unable to build any project
Thank you for your reply!
It does not contain the folder that contains cl.exe Unfortunately I can't seem to find that file anywhere. Not in my Qt directory (which IS in path) or at any of my msvc folders.
--
Martijn
Re: Qt Creator: Unable to build any project
Since this is the commandline compiler from Microsoft, it wouldn't be in any Qt directory, but if it also isn't in the visual studio directory then maybe the installation is incomplete?
Cheers,
_