[PyQt] QVariant and Python list
    Laurent Léonard 
    laurent at open-minds.org
       
    Wed May 28 18:35:32 BST 2008
    
    
  
Hi, 
I read QList and QMap are not implemented in PyQt, because of the presence of 
Python lists and dictionaries. 
But how can I use QVariant to "encapsulate" Python lists and dictionaries ? 
When I try to do it I get the following error message : "TypeError: argument 
1 of QVariant() has an invalid type"
Thank you, 
-- 
Laurent Léonard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080528/d468e8a7/attachment.bin
    
    
More information about the PyQt
mailing list