[PyQt] List-like objects and QVariant

Sybren A. Stüvel sybren at stuvel.eu
Thu Jan 21 12:37:15 GMT 2010


On Thursday 21 Jan 2010 13:34:27 Phil Thompson wrote:
> This behaviour is wrong [...] I will fix it for PyQt v4.7.1.
> 
> As a workaround you could wrap your class as an attribute of another
> (non-sequence) class when converting to QVariant and unwrap it when
> converting back.

Thank you for providing a fix in the future, and for giving me a workaround 
now.

Regards,
-- 
Sybren A. Stüvel

sybren at stuvel.eu
http://stuvel.eu/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100121/02129efd/attachment.pgp>


More information about the PyQt mailing list