[Qt-interest] How to delete the the painter device after the draw is complete
John Clayton
john_clayton at me.com
Mon Dec 14 10:03:43 CET 2009
Best thing is if you include the code you are using - then people can
comment properly on that.
Thanks
--
John Clayton
On Dec 14, 2009, at 9:54 AM, trinathpujari wrote:
> Hi All,
>
> How to delete a painter instance after draw is completed when
> it is created dynamically.
> This above thing is giving a memory leak in my application.
> My requirement is every time i create a painter and associate
> it with a QImage and after drawing i have to delete the instances of
> QImage and Painter.
> Can anybody tell when to delete the instances of the above
> QImage and Painter respectively.
>
> Regards
> Trinath
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list