本文介绍了Qt Creator 的 VC++ 编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 VC++ 工具集为 XP 和 Vista 构建程序,但我不想购买 IDE,因为我想使用 Qt Creator.

I want to use the VC++ toolset to build programs for XP and Vista, but I do not want to buy the IDE, because I want to use Qt Creator.

我会下载 Windows SDK 和 Windows 调试工具,但我不确定这是否包括我需要的一切(即:编译器、链接器、nmake、调试器).有没有人使用过这种方法?进展如何?

I would download the Windows SDK and the Windows Debugging Tools, but I'm not sure if this includes everything that I need (i.e: compiler, linker, nmake, debuggers). Has anyone used this approach? How did it go?

注意:我知道 VC++ Express,但该版本的编译器具有禁用 AFAIK 的某些功能.

Note: I know about VC++ Express, but that version of the compiler has certain features disabled AFAIK.

后期

我想知道我是否可以在下载 2GB 数据之前使用 SDK + Debugtools.个人经验受到高度赞赏.MSDN 链接不是.:)

I want to know if I can use the SDK + Debugtools before I download 2GB of data. Personal experiences are highly appreciated. MSDN links are not. :)

推荐答案

我现在使用 CDB + WinSDK 方法并且它有效.

I am now using the CDB + WinSDK approach and it works.

SDK 包含构建 C++ 代码所需的一切(make、CRT 头文件、STL 等);Qt 将其视为 MSVC 9.Windows 工具包的调试工具包括 CDB,但请确保您使用的是最新版本,它不适用于我使用旧版本.

The SDK includes everything that is needed for building C++ code (make, CRT headers, STL, etc); Qt sees it a MSVC 9. The Debugging tools for Windows kit includes CDB, but make sure that you're using the latest version, it didn't work for me with older ones.

我设法通过下载 developpez.com 二进制文件来避免编译 Qt(谢谢大家!).

I managed to avoid compiling Qt by downloading the developpez.com binaries (thanks guys!).

结论:Windows Xp/Vista SDK + Debugger Tools For Windows + Qt Creator +来自 developpez.com 的 Qt 二进制文件可用作 Qt MinGW SDK 的替代品.

In conclusion: Windows Xp/Vista SDK + Debugger Tools For Windows + Qt Creator + Qt binaries from developpez.com can be used as an alternative to the Qt MinGW SDK.

这篇关于Qt Creator 的 VC++ 编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 05:18