Hi, I've a question about QImage.

I create a QImage, passing a uchar * buffer.

This QImage, is a property of a class.

When I destroy the object of this class, I need to destroy the buffer of the QImage.

How can I get this buffer from the QImage ?

bits() return a deep copy.

I think that it's possible to get the original buffer, without save it as property of the class.

Many thanks,

Paolo