win7/10下Qt Creator调试提示(The selected debugger may be inappropriate for the inferior的解决办法)

春衣少年当酒歌,起舞四顾以笑和。这篇文章主要讲述win7/10下Qt Creator调试提示:The selected debugger may be inappropriate for the inferior的解决办法相关的知识,希望能为你提供帮助。
在win7/10下Qt Creator调试提示:The selected debugger may be inappropriate for the inferior的错误提示内容如下图所示:

win7/10下Qt Creator调试提示(The selected debugger may be inappropriate for the inferior的解决办法)

文章图片

一般弹出这个提示是很难进入调试,也看不到调试输出信息的。看到这个报错令人很失望。
解决:下载windows sdk    win10 sdk
只安装Debugging Tools for Windows
【win7/10下Qt Creator调试提示(The selected debugger may be inappropriate for the inferior的解决办法)】 
打开 工具-选项-Kits
安装sdk成功后我们可以看到 已经检测到了我们安装的cdb
win7/10下Qt Creator调试提示(The selected debugger may be inappropriate for the inferior的解决办法)

文章图片

 
 
打开工具-选项-构件套件
然后在qtcreator里面设置这个cdb,点OK重启qtcreator即可
 
win7/10下Qt Creator调试提示(The selected debugger may be inappropriate for the inferior的解决办法)

文章图片

引文链接:Qt Creator无法debug,报错:The selected debugger may be inappropriate for the inferior. Examining symbols and setting breakpoints by file name and line number may fail. The inferior is in the Portable ...

    推荐阅读