Qt Creator 2.7.0 compiler error
Screen-shot from Tools > Options > Build & Run > Compilers
Screen-shot from Tools > Options > Build & Run > Qt versions
Screen-shot from Tools > Options > Build & Run > Kits
Installed Qt creator 2.7.0 on my Windows 7 .
Build a test Qt GUI Project - made it run, but encountered the following error:
:-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
Installed MinGW and tried level best to configure at QT's Tools > Options > Build & Run > Compilers, but failed.
Performed various combinations on PATH variable in Environment, but failed.
Nothings working! Not finding any solution.
Does anyone have any resolution for this?
PS: No default compiler configured on QT creator.
I notice in screenshot that you have Qt libraries compiled for MSVC2010, but you are trying to use them with MinGW compiler.
On Qt project "downloads" page you will see that there are different binary packages for different compilers. For windows there are 4 packages:
You must choose package that is binary compatible with your compiler (runtime C library).
链接地址: http://www.djcxy.com/p/68616.html上一篇: 在Qt Creator中缺少编译器