HohoHaha
HohoHaha

Reputation: 25

Only limited toolchain found in Qt Creator

I'm working on a project that uses MSVC2013 as compiler and I might have setup Qt incorrectly. The configuration of Qt Creator is really confusing.

From Option in Qt Creator (click to view img), it detected all the toolchains so I assume I can choose any of them and start working on it.

However, in project build configuration (click to view img) it only allows me to choose one compiler.

I don't understand their relationship. What is the proper way to install Qt so that I can use it with MSVC2013 ?

PS: I installed Qt from an qt-opensource-windows-x86-vs2010-4.8.7.exe which should've supported up to MSVC2015.

Upvotes: 0

Views: 168

Answers (2)

rubenvb
rubenvb

Reputation: 76721

If you downloaded qt-opensource-windows-x86-vs2010-4.8.7.exe, it is only ever going to work with VS2010 (i.e. MSVC++ 9.0). Various Visual Studio versions are not compatible.

Note you are using Qt 4.8, which is old, and was only ever released with older compiler versions. If you really want to use this combination, you'll need to build Qt yourself.

The alternative (which I strongly suggest) is to just use Qt 5.6. It comes in a precompiled version for MSVS2013.

Upvotes: 1

OnWhenReady
OnWhenReady

Reputation: 949

It is actually quiet easy. You need to define a Kit. Sometimes a Kit is detected automatically. A useful Kit needs at least a Compiler and a compatible Qt-Lib (Qt Version). The Qt-Versions are defined in the Tab next to Kits and (if not auto-detected) can be defined by setting the path to qmake of the version. The Compiler Tab is next to Qt Versions and shows the available compilers.

Upvotes: 1

Related Questions