No compiler found in kit error Qt5.8 on windows
I installed Qt 5.8 using offline installer on windows 7 64 bit machine.
but when I try to run any example I get an error while executing qmake.
someone suggested to check the kit configuration and I don't seem to have a compiler in the kit.
Hi and welcome to devnet,
Please search this forum before asking. This question as been asked many times already.
You likely have installed the Visual Studio version of Qt and you didn't install the matching Visual Studio. Therefore go to the Microsoft website an grab the matching version of Visual Studio and don't forget to check the C++ component while installing, it's not selected by default.
If you installed the MinGW edition then you didn't check the option to install MinGW from the Qt Installer. If so, start the maintenance tool and install MinGW.
@SGaist Thanks for the reply !
I didn't install visual studio, I instead installed a redistribution of the required compiler
can you please take a look here and see if I have to download the whole visual studio ?
If you mean you installed the Visual C++ build tools, it should be enough to build yes.
@SGaist So I installed buildtools but now I get this error and can not find a solution online
D:\Windows\Qt\5.8\msvc2015_64\include\QtCore\qglobal.h:45: error: C1083: Cannot open include file: 'type_traits': No such file or directory.
Strange, i'd check if the Windows SDK is installed.