使用Visual Studio作为Qt Creator的一个编译器 [英] Using Visual Studio as a Compiler for QT Creator
问题描述
我一直试图让Visual Studio的是我用Qt Creator的编译器,这样我就可以链接到我的Boost库,将由于某种原因只能建在MSVC。
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.
当我看着我的构建和运行标签中,自动发现5种不同的Visual Studio编译器,但他们都没有路径调试器。
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
基于Qt 4.7.4(32位)
Qt Creator 2.4.1 Based on Qt 4.7.4 (32 bit)
建于2012年1月26日在9时48分31秒。
Built on Jan 26 2012 at 09:48:31
从版本8cd370e163
From revision 8cd370e163
Visual Studio 2010中
Visual Studio 2010
我的电脑是Windows 7的64位
My computer is Windows 7 64bit
推荐答案
您可以安装Windows调试工具(x64)的距离的的Microsoft Windows SDK的Windows 7和.NET Framework 4 。那么Qt的应该找到它自动的。
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.
这篇关于使用Visual Studio作为Qt Creator的一个编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!