PDA

View Full Version : Qt creator needs a compiler



neda
18th May 2016, 06:01
I Have Installed qt-opensource-windows-x86-msvc2015-5.6.0.exe and I have visual studio 2015 in my computer (windows 10 64 bit). But when I am running any program it is giving me this error.

error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

I have this specification in window "About Qt Creator".
Based on Qt 5.6.0(MSVC 2013,32 bit).

But in my computer:
"C:\Qt\Qt5.6.0\5.6\msvc2015"

From the menu of QtCreator, I Opened "Tools>Options>Build&Run>Compilers". No auto-detected configuration.

11943
11944

I try to add manual with this specification but it does not work and I have same error:

Compilres:
Compiler path:C:\Qt\Qt5.6.0\5.6\msvc2015\bin\windeployqt.ex e
Make path: C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe

CMake:
Path: C:\Qt\Qt5.6.0\5.6\msvc2015\bin\qmake.exe

anda_skoa
18th May 2016, 07:49
The compiler path looks wrong.
Is "C:\Qt\Qt5.6.0\5.6\msvc2015" really where you have installed MSVC2015?
And why does that path end in "windeployqt.exe"? Isn't the MSVC compiler called "cl.exe"?

Cheers,
_