[PyQt] QImage API change

Phil Thompson phil at riverbankcomputing.com
Sun Apr 7 18:56:15 BST 2013

On Sun, 7 Apr 2013 09:41:42 -0400, Luke Campagnola
<lcampagn at email.unc.edu>
> Hello,
> It appears that the API for QImage.__init__ changed somewhere between
> 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

QImage(int, width, height, format) isn't a valid signature in any version.


More information about the PyQt mailing list