Error while building/deploying project qbittorrent (kit: Desktop Qt 5.3 MSVC2012 OpenGL 32bit) When executing step "Make"
-
:-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
Qt Version 5.3.2
When I start a new project it can build and run perfectly. When I open an existing project I get an error.
When I hover over a kit it says "the compiler cannot produce code for the qt version"
-
Hi, and welcome to the Qt Dev Net!
Your system only has MSVC 2010 and MSVC 2013. These cannot work with "Qt 5.3 MSVC2012".
You need to either:
- Install Visual Studio 2012, OR
- Use Qt for MSVC 2013 (and uninstall Qt 5.3 MSVC 2012)
Note that Visual C++ Compiler 12.0 comes from Visual Studio 2013. These are the numbers:
- Visual Studio 2005 -- Visual C++ 8.0
- Visual Studio 2008 -- Visual C++ 9.0
- Visual Studio 2010 -- Visual C++ 10.0
- Visual Studio 2012 -- Visual C++ 11.0
- Visual Studio 2013 -- Visual C++ 12.0
EDIT: Also, go to your project folder and delete the *.pro.user file. Then, open the project again. This lets you reconfigure with a different kit.