Am 13.06.2014 um 05:58 schrieb Filip Piechocki <[email protected]>:

> ...
> 
> QImage image(myByteArray.constData(), width, height, QImage::Format_ARGB32);
> 
> Note that the data has to live as long as QImage and all it's undetached 
> copies.

I don't think that's the case: I am pretty sure that QImage makes a /copy/ from 
the passed QByteArray data - no?

Cheers,
  Oliver
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to