[PyQt] QImage API change

Luke Campagnola lcampagn at email.unc.edu
Sun Apr 7 14:41:42 BST 2013


Hello,
It appears that the API for QImage.__init__ changed somewhere between 4.9
and 4.10.

In 4.9, I use QImage(int, width, height, format) and in 4.10 I use
QImage(sip.voidptr, width, height, format). I would like to include both
calls in my code; can you tell me at what version did this change take
place?

Alternatively, can you suggest a similar mechanism that works across all
versions?

Thank you!
Luke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20130407/0896c287/attachment.html>


More information about the PyQt mailing list