PDA

View Full Version : QWT 6.1 +QT5 memoryleak when calling replot



Paimen
16th May 2013, 13:06
I have problem with simple plotter widget, it seems that calling replot() causes memory leak with QWT 6.1 rc3 and Qt5. Leak does not appear with qt 4.8.4 and QWT 6.0. Is there something changed how to use replot and continuos stream of data or am I doing something wrong as this is my first qwt program.

I used 64-bit windows 7 with VS2010 compiler.

Attached simple qt test program:
9043

Paimen
17th May 2013, 06:18
Quick update, this leak does not occur in ubuntu 13.04 64 bit, with Qt 5.0.2 and latest qwt from svn.

Uwe
17th May 2013, 07:01
There is no related difference between rc3 and svn trunk, so when there really is a leak it has to be in somewhere in the windows specific code of your Qt5 version.

Uwe

Paimen
17th May 2013, 08:00
Uwe thank you for your reply and yes indeed, the memory leak is in Qt5.1 beta and not in Qwt nor in my code. Sorry for false reporting of memory leak.