qt creator 无法调试

最近安装了qt sdk1.2来学习,发现无法调试!

出现以下错误“None of the debugger engines 'cdb engine,gdb engine' capable of debugging binaries of the type 'x86-windows-msvc2010-pe-32bit' is configured correctly”。

参考了qt的reference document “http://doc.qt.nokia.com/qtcreator-snapshot/creator-debugger-engines.html#setting-the-symbol-server-in-windows

解决方案如下:

系统环境:

win7

32-bit

x86

1.下载debugging tool for windows并安装

下载路径:http://msdn.microsoft.com/en-us/windows/hardware/gg463016

下载版本:Debugging Tools for Windows 32-bit Version

安装下载到的winsdk_web.exe,安装过程中只需选择安装Common Utilities > Debugging Tools for Windows 即可

2.配置qt creator

重启qt creator,弹出symbol server配置对话框,选择yes即可,稍等片刻即可调试。。。

Enjoy it!!!

你可能感兴趣的:(qt)