I'm trying to read a file written from C++ using Qt 5. The C++ code to read the file (much simplified) is:
QFile file("MyFile");
file.open(QIODevice::ReadOnly);
QDataStream in(&file);
QList<QPair<QString, QByteArray>> outList;
in >> outList;
if (!outList.isEmpty())
{
...
But it seems like QList
and QPair
aren't available in PySide2. Is there any way of doing this?