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

Thiago Macieira thiago.macieira at intel.com
Fri May 11 08:32:14 CEST 2018


On Thursday, 10 May 2018 23:11:04 PDT alexander golks wrote:
> i think it "silently" breaks here without setting error condition on the
> QFile when hitting errors on all chunks but the first one, thus returning a
> size lower the input array size, which is the behaviour i see.

It's not an error to not write everything.

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






More information about the Interest mailing list