Solved Problem with configuring compiler
-
Hello,
I have been trying to find solution of my problem in this forum. There were a couple of people who had the same problem but I could not match advices which they got wih my situation (probably it is my fault). So: when I try to build a project, it shows the issue: :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options. I have Windows 7, Qt Creator 3.5.1 (opensource) Based on Qt 5.5.1.- In Build & Run / Compiler it auto-detected Windows SDK for Windows 7 and MinGw but I could not set any in Build & Run / Kits / Auto - Detected / Desktop Qt 5.5.1 MSVC2013 32bit.
- I added a manual Kit, set a compiler and made default. But the problem did not dissapear.
- I uninstaled SDK 7 and instaled standalone SDK v10. It did not show SDK v10 in Build & Run / Compilers.
- I uninstaled standalone SDK v10 and installed Microsoft Visual Studio 2015 - the result like above.
Please help me with that problem, what environment should I install to solve the problem?
Kind regards
Czarek
-
Hi and welcome to devnet,
You have to install the compiler matching the Qt package you installed (only exception is MinGW which is provided by the installer). So if you install Qt for MSVC2013 then you have to install Visual Studio 2013. The VS compilers are not compatible one with the other.
-
I applied to Your advice. It works. Thank You.