Quote Originally Posted by danics View Post
you want me to casting paintingdevice?
I'm asking you to look into the source code of the application you are maintaining and see what is the source device for the call being made.

i m sure its not qwidget its qimage or qpixmap or qbitmap i dont know exactly what is that!
So check. If it's QImage or QPixmap (or QBitmap which is its subclass) then you can use QImage::copy() or QPixmap::copy().