1

Possible Duplicate:
Memory leak checking on Windows with QT and MinGW32

I have looked for a solution to this problem for a while, and have not been able to find anything. I need to be able to detect small memory leaks in my Qt application, which I develop in QtCreator. this question talks about detecting Qt memory leaks in Qt applications, but not through QtCreator. I would run my application on a linux machine and use Valgrind, but I have some windows specific stuff in it, so it's not fully portable. Can anyone help?

Thanks

Community
  • 1
  • 1
PTBG
  • 585
  • 2
  • 20
  • 46
  • What toolchain do you use? mingw-gcc or vc? – Kamil Klimek Oct 29 '12 at 14:23
  • In run/debug menu there should be option "debug with valgrind" or something like this. valgrind is memory profiling tool. It should be helpful when searching for memory leaks – Kamil Klimek Oct 29 '12 at 14:25
  • 1
    @KamilKlimek I know what Valgrind is, but Valgrind is only for mac/linux... – PTBG Oct 29 '12 at 14:30
  • I didn't know mingw hasn't port valgrind. Take a look at this topic: http://stackoverflow.com/questions/413477/is-there-a-good-valgrind-substitute-for-windows it may become very helpfull – Kamil Klimek Oct 29 '12 at 14:32

0 Answers0