I will have a look at the problem the next time I will check Qwt on Windows ( what might take some time ).
Uwe
I will have a look at the problem the next time I will check Qwt on Windows ( what might take some time ).
Uwe
jomarin (12th December 2008), philwinder (3rd November 2008)
Hi everyone,
I have a similar problem on Windows. My QwtPlot window crashes after a number of zoom in and out, that seems to depend on the machine used.
I did not experience the same problem on Solaris.
Any news on this subject ?
Thanks in advance,
Joel.
Ah, I am glad it is not just me. I still have the problem, and I do think it is restricted to windows. They must handle their graphics memory management differently. Having you on board with the same problem may inspire Uwe to take a look at the problem.
Same problem on windows XP, VS 2003 7.1 SP1, Qt 4.4.0, Qwt 5.0.2 & 5.1.0 & 5.1.1.
Gianni
Qt support confirms there is a GDI leak on their part. It should be already fixed in Qt 4.5.0 coming but I didn't try that.
Gianni
Same bug here. You can open the Windows task manager and watch the GDI objects. If a Zoomer (and on my computer a Picker as well) is enabled you are able to create about 1000 GDI objects per second. After about 10'000 GDI objects Windows isn't happy anymore.
(About 50% of the Qwt demos crash on my computer when I recompile everything with Qt 4.5.0 rc1 (when I move the cursor over a plot), but this is maybe my problem).
Last edited by Azraiyl; 5th February 2009 at 22:46.
Thanks. Examples now build fine and the Picker/Zoomer does not create tons of GDI objects anymore (at least with Windows XP).
I confirm the leak was on Qt side. Qt 4.5.0 release candidate are fixed but you need to download Qwt 5.1 from svn to play with that Qt version.
Gianni
Great to hear you got it all sorted. Thanks Uwe, and everyone else!
Hi
I've read through this thread, and unless I'm missed something my setup should be OK. I am running qt4.4.3 and qwt5.1.1 on windows xp. However my setup is suffering from the same problem
warning: ASSERT: "m_hdc" in file painting\qpaintengine_raster.cpp, line 4286
Anyone any ideas why this is
Best regards
Bookmarks