QtCreator:没有CDB二进制档可用为二进制格式在'x86-windows-msvc2008-pe-32bit'"

来源:互联网 发布:sqlserver 日期格式化 编辑:程序博客网 时间:2024/05/02 21:39

QtCreator:没有CDB二进制档可用为二进制格式在'x86-windows-msvc2008-pe-32bit'"

安装VS2008后,又先后安装了qt-win-opensource-4.7.4-vs2008和qt-vs-addin-1.1.9。

为了熟悉Qt Creator开发工具,我安装了qt-creator-win-opensource-2.3.1。


当运行Qt Creator开发的工程时,报出如此错误:

QtCreator没有CDB二进制档可用为二进制格式在'x86-windows-msvc2008-pe-32bit'"

该错误的英文形式为:

The preferred debugger engine for debugging binaries of type 'x86-windows-msvc2008-pre-32bit' is not available.

The debugger engine 'Gdb engine' will be used as a fallback.

Details: There is no CDB binary available for binaries in format 'x86-windows-msvc2008-pre-32bit'



该错误肯定是Qt Creator没有找到可用的编译器,解决办法如下:

第一种方法:安装dbg_x86_6.11.1.404.msi。  然后重启QtCreator即可!

在Tools-options-Tool Chains可以看到已经找到编译器Microsoft Visual C++ 9.0 (x86)


2. 方法二: 安装winsdk_web.exe, 这个不考虑了,因为它太大了,而且必须得在线安装。


----------------------------------------------------------------------------------------------------------------------


本文章参考的博客:http://tcspecial.iteye.com/blog/1545485