I want to write a QList to a file and I get this error:
Code:
c:/Qt/2009.04/qt/include/QtCore/../../src/corelib/io/qdatastream.h:252: error: no match for 'operator<<' in 's << (+l)->QList<T>::at [with T = Registro::alumData](i)'
In my registro.h I have this:
Code:
My function to save the file (in registro.cpp) is:
Code:
void Registro::guardarArchivo() { if (nombreArchivo.isEmpty()) { return; } return; } out << Alumnos; }
I'm a beginner.