[PyQt] QDataStream and QList < T>

Fx III fxiiii at gmail.com
Tue May 11 11:58:15 BST 2010


Hi all,
 I do some mix with Qt/C++ and PyQt, basically I'm trying to store a
QVariantList into a QDataStream from C++ and try to read it from a
QDataStream in python. While I am accustomed to write:
d=QDataStream(..)
...
x=QSomething()
d >> x

I can not figure out how tell, neither implicitly nor explicitly, to
QDataStream to give me a list.

thanks in advance
Fx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100511/d6995e03/attachment-0001.html>


More information about the PyQt mailing list