Results 1 to 4 of 4

Thread: QWT 6.1 +QT5 memoryleak when calling replot

  1. #1
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default QWT 6.1 +QT5 memoryleak when calling replot

    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:
    leaktest.zip

  2. #2
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QWT 6.1 +QT5 memoryleak when calling replot

    Quick update, this leak does not occur in ubuntu 13.04 64 bit, with Qt 5.0.2 and latest qwt from svn.

  3. #3
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QWT 6.1 +QT5 memoryleak when calling replot

    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

  4. #4
    Join Date
    May 2013
    Posts
    3
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QWT 6.1 +QT5 memoryleak when calling replot

    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.

Similar Threads

  1. replot() performance
    By raghvendramisra in forum Qwt
    Replies: 6
    Last Post: 5th June 2012, 16:14
  2. how to get zoomer to replot
    By kja in forum Newbie
    Replies: 3
    Last Post: 17th November 2010, 07:15
  3. how to accelerate the replot?
    By rambo83 in forum Qwt
    Replies: 6
    Last Post: 17th March 2010, 11:11
  4. how to speed up the replot?
    By rambo83 in forum Qwt
    Replies: 4
    Last Post: 16th December 2009, 11:51
  5. Deleting from TreeWidget... Memoryleak
    By VireX in forum Qt Programming
    Replies: 5
    Last Post: 1st June 2007, 21:33

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.