[Qt-interest] How to debug memory leaks in QT based application?
Nicolas Rannou
nicolas_rannou at hms.harvard.edu
Fri Apr 9 20:43:24 CEST 2010
On 04/09/2010 02:36 PM, Gabriel M. Beddingfield wrote:
>
> 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
>
yes but you have to create the suppressions file manually which I would
like to avoid....
Nicolas
More information about the Qt-interest-old
mailing list