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

Thiago Macieira thiago.macieira at intel.com
Mon May 14 01:29:48 CEST 2018


On Sunday, 13 May 2018 09:32:23 PDT Elvis Stansvik wrote:
> QDataStream can operate
> fine on an QIODevice that does partial writes (like QFile).

No, it cannot. If there's a failure to write, the stream is corrupt and 
unrecoverable.

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






More information about the Interest mailing list