[Qt-interest] How to debug memory leaks in QT based application?

Gabriel M. Beddingfield gabrbedd at gmail.com
Fri Apr 9 20:36:25 CEST 2010



On Fri, 9 Apr 2010, Nicolas Rannou wrote:

> The problem is that as soon as we use something from QT in our
> application, Valgrind reports a lot of memory leaks inside QT (not
> related to our application)... So it is almost impossible to find the
> leaks I am interested in.

Perhaps you can use the --suppress and --gen-suppressions 
options to suppress errors and libraries that you are not 
interested in.

See /usr/lib/valgrind/default.supp for examples.

-gabriel



More information about the Qt-interest-old mailing list