Reputation: 87
I have just started to learn C++ and have come across Qt Creator. I have installed it alongside the built in MinGW Compiler. However I cannot get my projects to 'Build and Run'. I have attached some screenshots below, thank you for any help!
The last image shows the two auto-detected kits which I can choose from. I tried creating my own kit and linked it with the compiler since the auto-detected kits don't have the compiler linked to it.
Also, the following error shows when I try to 'Build and Run' my project :
18:02:25: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project Test (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
When executing step "Make"
Upvotes: 3
Views: 21706
Reputation: 13013
Dry facts:
Problem:
Possible solutions:
Install Qt for MinGW (with maintenancetool.exe in Qt folder)
Install Visual Studio 2015 (make sure you check "C++ tools" during installation)
Install both
Install other matching pairs of { compiler, Qt_distribution }
(in last two cases you can easily swap between toolchains)
Make sure you roll back any damage you've made to compiler settings in QtCreator.
See also: Installing Qt 5.6: Which components should I choose?
Upvotes: 4