Qt Creator build example error, configuration problem, cl not found
-
Hi,
Follow these guides to "tell Qt Creator where to find your compiler":http://qt-project.org/doc/qtcreator-2.7/creator-tool-chains.html, and then "add a Kit":http://qt-project.org/doc/qtcreator-2.7/creator-targets.html
After that, you'll need to re-configure your example project (open it, and then click on "Projects" on the left of Qt Creator)
-
-
What Kit is your project using?
-
Open Tools -> Options -> Build & Run -> Kits
Do you see a yellow or red error icon next to "Desktop Qt 5.0.2 MSVC2010 32bit"? If so, what does it say?
Which example are you trying to build?
-
Yellow icon means that your Kit is not set up properly -- either your Qt Version and/or your Compiler is not set up properly.
Hover your mouse over the yellow icon, and a box should pop-up. Post the error/warning here (or take a screenshot)
-
I searched about this problem, and after so much time I find a soluction for this, the cause of the problem is unknow for me, but work fine I did a .bat file with this code:
call "C:\Archivos de programa\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat"
"C:\Qt\Qt5.1.0\Tools\QtCreator\bin\qtcreator"so I have to run vcvars32.bat before the qtcreator. I think that is not ideal soluction but it is the only one found up to this moment.