I Have Installed Qt Creator5 with latest binaries. but when i am running any program it is giving me this error.
:-1: error: Qt Creator needs a compiler set
* for windows users only *
Before continuing to next steps make sure u have downloaded latest version of Qt.
In Compilers tab Select add -> MinGW ->
Name: MinGW
path: Browse for mingw-w64.bat (you will find this file in the directory in which you have installed MinGW).
ABI: x86 Windows msvc2015 pe 64bit
Don't forget to apply your edits.
Go to Kit -> add
Name: GCC
Device Type: Desktop
Device: Local PC (Default for desktop)
Compiler: minGW
Qt Version: select newest version
Apply changes and restart qt
While creating new project make sure you use GCC as kit
If it still doesn't works Click computer icon on bottom left above play button -> GCC -> Build
OR
Go to projects (It is in the menu on left hand side) -> Build Steps -> make -> Override minGw31-make.exe -> browse to path in which you have installed minGW/bin\mingw32-make.exe
Do the same for clean steps too
If u Still get any error after these steps try setting Environment Variables
That should do it !!!