Using Visual Studio as a Compiler for QT Creator

2019-08-20 17:20发布

问题:

I've been trying to get Visual Studio to be the compiler I use for QT creator, so that I can link to my boost libraries that would for some reason only build in msvc.

When I look at my build and run tab it auto found 5 different visual studio compilers, yet none of them have paths to a debugger.

I tried cloning one and then I realized I couldn't even find the path to what I was supposed to put in the debugger.

Qt Creator 2.4.1 Based on Qt 4.7.4 (32 bit)

Built on Jan 26 2012 at 09:48:31

From revision 8cd370e163

Visual Studio 2010

My computer is Windows 7 64bit

回答1:

You can install the Debugging Tools for Windows (x64) from the Microsoft Windows SDK for Windows 7 and .NET Framework 4. Qt should then find it automagically.