Qt 5.6 MSVC Error when building project made from other Qt versions
-
I created a project in Qt 5.4 application. When I tried to run it using Qt 5.1.1 version it works perfectly fine. I tried it to other version and it still works but when I run it using Qt 5.6msvc2015_64 I encountered an error in here.
The error says --> Error while building/deploying project NotepadTest (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
When executing step "Make"I don't understand this error. Can anyone help me with this?
Thank you.
-
Hi,
You have to post the exact error you got. Check the build console for example
-
This is the whole error I got.
Compile Output:
08:09:33: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project NotepadTest (kit: Desktop Qt 5.6.0 MSVC2015 64bit)
When executing step "Make"Issues:
**** Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.**** -
I also check the kit I have in my Qt Creator. It says that there's No Compiler set in Kit
Does that mean I don't have a compiler?
How am I going to set up a compiler for it? And do I need to download Mingw for it? If so, What is the most compatible minGW compiler for qt 5.6.0 msvs2015(64 Bit)? Can you send me a link of download. Thanks.
Your help is much appreciated. Thank you. -
You installed Qt for Visual Studio 2015. From the error message, you don't have Visual Studio 2015 installed. That's the first problem.
If you want to use Qt with MinGW, then install that version of Qt. The installer also proposes the matching MinGW so you don't have to get it manually.
-
Did you check the compiler detection in Qt Creator's options ?
-
Here's the solution I found myself...
When using qt5.6.0 msvc2015_64 bit. You must also install visual studio 2015 to make it work... while installing visual 2015 make sure that C++ program is included in the installation in order fpr Qt to detect the compiler. -
This post is deleted!