环境:visual studio 2012

qt:5.3.1

 

默认的ms版本qtcreator只能使用visual studio的编译器,不能使用调试工具。需要gdb或者cdb进行调试,这里介绍使用的是cdb

 

cdb:

下载页面:http://msdn.microsoft.com/en-us/windows/hardware/hh852365

下载版本WDK 8

 

下载完成安装后,重新启动qtcreator即可以使用。如果依然显示没有调试器,去工具->选项,下的“构建和运行”,有个Debuggers,可以手动添加debugger的执行路径:

C:\Program Files (x86)\Windows Kits\8.0\Debuggers\x86\cdb.exe

 

截图:

Qcreator3.1.2调试器(windows)版本

相关文章:

  • 2022-12-23
  • 2021-07-27
  • 2022-01-05
  • 2021-12-19
  • 2022-12-23
  • 2021-11-21
  • 2021-10-27
  • 2022-12-23
猜你喜欢
  • 2021-08-29
  • 2022-12-23
  • 2021-05-03
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案