[PyQt] QDataStream and template classes

Phil Thompson phil at riverbankcomputing.com
Sat Nov 26 18:09:32 GMT 2016

On 26 Nov 2016, at 5:38 pm, ekhumoro <ekhumoro at gmx.com> wrote:
> 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.

I can't think of any.


More information about the PyQt mailing list