Solved Adding MSVC2015 2015 64 bit to compiler ?
-
Could not determine which "make" command to run. Check the "make" step in the build configuration. Error while building/deploying project del (kit: Desktop Qt 5.9.6 MSVC2015 64bit) When executing step "qmake"
Running Windows Runtime device detection. C:/Qt/Qt5.9.6/5.9.6/winrt_armv7_msvc2015/bin/winrtrunner.exe --list-devices Project ERROR: Cannot run compiler 'cl'. Output: =================== =================== Maybe you forgot to setup the environment? Error while parsing file C:\Users\aravmadd\Documents\del\del\del.pro. Giving up. Project ERROR: Cannot run compiler 'cl'. Output: =================== =================== Maybe you forgot to setup the environment? Error while parsing file C:\Users\aravmadd\Documents\del\del\del.pro. Giving up.
This is the error i am getting but when i am running with MinGW32 its working but I need MSVC2015 64 bit compiler for my things!
Previously it used to work fine but my trial version of visual studio expired so i uninstalled visual studio and reinstalled free version again but from then i am getting this problem!
I found like similar questions (https://forum.qt.io/topic/82391/project-error-cannot-run-compiler-g-maybe-you-forgot-to-setup-the-environment/12) and (https://forum.qt.io/topic/79532/msvc2015-64bit-compiler-kit-installation-requirements/5) and some more but none of them wrote what worked for them!
I also checked documentation (https://doc.qt.io/qtcreator/creator-tool-chains.html) but it was not quite fruitful for me :-(!
.
From the above image you can get some infotmation of kits state!
In the above image you can find info about compilersBelow you can find the build settings of MSVC2015_64bit_Release

From this we can find the no compiler set in kit In Make but i am not sure how to fix this!
When creating the projects i am selecting to add all available kits and in that step it is showing me available kits but at the time of build it is throwing me error!
Am I missing something? -
@aravmadd Please select the MSVC Kit you want to use and post the screen-shot of its configuration. All your MSVC Kits have red icon next to them - that means they are not configured properly.
-
You should have msvc15 kits configuration like below. (I am using Qt 5.9.7)
-
@DzCode What message do you see if you put the mouse cursor over the red icon?
-
@jsulm I fixed with this Qt re- installation and visual studios re-installation. I am using visual studio from my university license. Since it is expired , and also i need to do some work quickly so i removed this visual studio and reinstalled visual studio manually. This somehow messed with selecting proper configuration in qt.
So Now it is working properly after installing visual studios and qt again!
But Coming to your question! When I keep cursor at red button you are getting some information like not configuredproperly or some configurations are missing.
I thought quick solution will be reinstalling again because of some deadlines!. I can also manually find things by the help of google and forum respones and fix it but considering my timeline i preferred reinstalling which is not good solution!