[Qt-interest] Why destroy QPainter after drawing?

Rohan Prabhu rohan at rohanprabhu.com
Wed Jun 30 18:37:21 CEST 2010


In the documentation for QPainter, it says that "Remember to destroy
the QPainter object after drawing", but doesn't provide a rationale as
to why. Why does it say so? Why is destroying QPainter necessary after
painting?



More information about the Qt-interest-old mailing list