[Interest] Memory Leak when instantiating QWidget based windows

Sergio Martins iamsergio at gmail.com
Sat Sep 10 15:50:56 CEST 2016


On Thursday, 8 September 2016 17:16:27 WEST Mike Jackson wrote:
> Does QtCreator come with suppression files for Qt5? I ran valgrind "by
> hand" on the command line and while I was able to actually find some of
> our leaks (yeah Valgrind..) I had to wade through 20,000 Qt leaks to
> find my leaks. Would be nice to filter those out somehow.

I doubt there are 20000 Qt leaks, they are probably in libfreetype and 
libfontconfig.

You can generate a suppresion file with: valgrind --gen-suppresions=yes
then copy-paste the output to a file and load it


Regards,
Sérgio Martins




More information about the Interest mailing list