[Qt-interest] How to delete the the painter device after the draw is complete

trinathpujari trinathpujari at tataelxsi.co.in
Mon Dec 14 09:54:06 CET 2009


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






More information about the Qt-interest-old mailing list