Qt Creator - How to add a compiler?

Possible duplicate:
VC ++ compiler for Qt Creator
QT5 beta2, creator of QT 2.6, MSVC error: Qt Creator needs a compiler configured to build. Configure the compiler in set options

I just installed Qt Creator (my first experience with it) and I get this error when I try to compile:

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

This is really a very suggestion, and I read on another post here on the stack, but I just couldn't do it. These are my options from Build & Run → Compilers: enter image description here

More details:

  • This is Qt Creator 2.6.1 based on Qt 5.0.0 (32 bit)
  • I installed visual studio 2012
  • The Qt download page for Windows had only a 32-bit option, but I have Windows 7 64bit

LE: These are Kits options. enter image description here

What paths should be specified for Sysroot and Qt mkspec?

+7
source share
1 answer

you are using Visual Studio 2012, solutions:

1) uninstall it and reinstall Visual Studio 2010, Qt 5.0 works with this version of the microsoft C / C ++ compiler.

2) install the mentioned SDK compiler from the microsft website.

+3
source

All Articles