Qt Creator 在Windows下如何使用Valgrind检测内存泄漏

oldmtn 2013-03-09 01:38:17
大家有这方面的相关资料吗


我搜索了一下,几乎找不到。。。
都是关于 Valgrind在linux下的使用方法。

而目前我在Windows上使用Qt Creator开发程序。。。

...全文
1548 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
lch922 2014-06-25
  • 打赏
  • 举报
回复
http://blog.csdn.net/dyw/article/details/6860473
大道曙光 2013-12-23
  • 打赏
  • 举报
回复
官网上有这样的话: There are many platforms not mentioned here. Some are of little interest (eg. SPARC/*, */AIX). Some would be technically difficult (eg. IA64/*). In particular Windows is not under consideration here because porting to it would require so many changes it would almost be a separate project. (However, Valgrind + Wine can be made to work with some effort.) Also, non-open-source OSes are difficult to deal with; being able to see the OS and associated (libc) source code makes things much easier. However, Valgrind is quite usable in conjunction with Wine, which means that it is possible to run Windows programs under Valgrind with some effort. 不过又看到这个: http://sourceforge.net/p/valgrind4win/wiki/Home/ 但是好像没下载地址
oldmtn 2013-03-09
  • 打赏
  • 举报
回复
偶了个去。。。 还真是的, 这是官网:http://www.developer.nokia.com/Community/Wiki/Help:Contents 只有Linux版本的,没有Windows版本的, 擦。。。
彩阳 2013-03-09
  • 打赏
  • 举报
回复
学习了,Valgrind自身也不会用。
寒山-居士 2013-03-09
  • 打赏
  • 举报
回复
目前QT creator下面 没有好的检测内存泄露的工具,你可以将其移植到vs2010等开发环境下检测,然后再移动QT creator下 编译发布

16,173

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧