[Interest] QFile::write(const QByteArray&) does not write all data?

Thiago Macieira thiago.macieira at intel.com
Wed May 9 17:19:02 CEST 2018


On quarta-feira, 9 de maio de 2018 02:09:23 PDT alexander golks wrote:
> i always thought, QFile::write(const QByteArray&) is meant to write all
> data.

Yes, but it also returns a qint64 that is the number of bytes written. What 
did it return in your case?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list