Qt Creator在Windows上的调试器安装与配置
来源:互联网 发布:河南网络流行的歌 编辑:程序博客网 时间:2024/06/01 07:13
1、问题描述:
开发环境:Qt5.5.1+VS2013+win7(64bit)
VS开发qt程序编译正常Qtcreator开发程序,后无法调试。
调试出现提示错误“Unknown debugger type "No engine",如下图所示
2、原因:
qt官方提示,如果qtcreator自动检测调试器失败,就需要你手动安装window CDB debugger.
You need to set up the debugger only if the automatic setup fails, because the native debugger is missing (as is usually the case for the CDB debugger on Windows, which you always must install yourself) or because the installed version is not supported (for example, when your system contains no, or an outdated version of GDB and you want to use a locally installed replacement instead).
3、解决方法:
3.1 下载Windows SDK,
选择安装其中的Debugging Tools for Windows,完成CDB Debugger的安装即可。
我是从这个中文版地址下载的:https://dev.windows.com/zh-cn/downloads/windows-8-1-sdk
该版本支持win7,官方很多地方都是支持win10了
或者从微软英文官方下载WDK:http://msdn.microsoft.com/en-us/windows/hardware/hh852365
3.2 安装
将下载得到的在线安装程序sdksetup.exe安装,只需要选中Debugging Tools for Windows即可,其它都可以不安装,如下图所示。
安装完成后Close关闭安装程序。
3.3配置Qt Creator
重新启动Qt Creator,在工具/选项/构建和运行里面,Debuggers窗口 已经自动检测到两个CDB 。
然后在构建和套件(kits)窗口,将套件桌面的调试器修改为x64的cdb
qtcreator可以正常进行调试工作了。
阅读全文
0 0
- 【Qt开发】Qt Creator在Windows上的调试器安装与配置
- QT CREATOR在WINDOWS上的调试器安装与配置
- Qt Creator在Windows上的调试器安装与配置
- Qt Creator在Windows 7上的调试器安装与配置
- Qt Creator在Windows上的调试器安装与配置
- Qt Creator在Windows上的调试器安装与配置
- Windows下Qt creator调试器的安装与配置
- Windows 系统上Qt Creator的调试器安装与配置
- Qt Creator在Windows上的安装
- 【安装】Qt Creator + MinGW 在windows 下的调试
- Qt creator在Windows上的配置使用
- windows下Qt Creator 调试器配置
- Windows Qt Creator 配置调试器
- Qt Creator的编译器与调试器的配置
- 在linux和windows上安装qt及creator
- 在ubuntu上安装QT Creator并配置编译环境
- Qt Creator + MinGW 在windows 下的调试
- Qt Creator + MinGW 在windows 下的调试
- RecyclerView 购物车 二级列表
- Google Kaptcha生成图形验证码
- css3基础笔记-选择器
- ANDROID自定义视图——onMeasure,MeasureSpec源码 流程 思路详解
- iOS如何在页面销毁时优雅的cancel网络请求
- Qt Creator在Windows上的调试器安装与配置
- winfrom中TCP传值
- leetcode刷题指南
- delphi Format格式化函数
- English
- vue性能优化
- C#正则表达式:匹配字符串指定字符内容
- 什么是RESTful?
- inux如何查看log日志文件某个字符串最后出现的地方