[PyQt] QDataStream and template classes

ekhumoro ekhumoro at gmx.com
Sat Nov 26 17:38:04 GMT 2016


If I have received a file serialized by QDatastream that uses template 
classes such as QList<double> and QVector<QPoint>, am I right in saying 
there is no way to read it using PyQt?

I see there is readQVariantList which can read QList<QVariant>, but 
there does not seem any general way to handle template classes. I 
suppose it's not surprising that PyQt can't do this, but I just wanted 
to confirm there are no work-arounds.

Thanks


More information about the PyQt mailing list