How to add a compiler?

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

I just installed Qt Creator ( my first expcerience with it ) and I'm getting 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.

It's indeed very suggesting, and I read on other post here on stack, but I just couldn't get it done. These are my options from Build&Run -> Compilers: 在这里输入图像描述

Details:

  • It's Qt Creator 2.6.1 Based on Qt 5.0.0 (32 bit)
  • I've installed visual studio 2012
  • On the Qt download page , for Windows, there was only 32 bit option, but I have Windows 7 64bit
  • LE: These are Kits options 在这里输入图像描述

    What paths must be specified for Sysroot and Qt mkspec?


    you are using Visual Studio 2012, The solutions:

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

    2) install mentioned SDK compiler direclty from microsft's website.

    链接地址: http://www.djcxy.com/p/11768.html

    上一篇: 允许最终用户动态添加列到表中

    下一篇: 如何添加编译器?