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:
LE: These are Kits options
What paths must be specified for Sysroot and Qt mkspec?
MSVC is doing the compilation job significantly faster than MinGW-w64. The DLL sizes are comparable, if optimization is set to "-O2" for MinGW-w64, with "-O3" the DLLs from MinGW-w64 are larger. Binary files compiled with MinGW-w64 are performing significantly better than those compiled with MSVC.
Qt Creator is not a compiler. When you read that "Qt Creator supports C++11" it means that the code-completion engine (Clang in this case) supports C++11 syntax.
Qt Creator uses the C++ compiler from the GNU Compiler Collection on Linux. On Windows it can use MinGW or MSVC with the default install and can also use Microsoft Console Debugger when compiled from source code. Clang is also supported.
You can modify the kit configuration to use a currently installed Qt version and save the kit under a new name. To modify kit configuration or to add kits to the list or to remove them from it, select Manage Kits. For more information about managing kits, see Adding Kits.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With