0

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?

ΦXocę 웃 Пepeúpa ツ
  • 47,427
  • 17
  • 69
  • 97
parsley72
  • 8,449
  • 8
  • 65
  • 98

0 Answers0