[Interest] QFile::write(const QByteArray&) does not write, all data?
Thiago Macieira
thiago.macieira at intel.com
Fri May 18 09:11:49 CEST 2018
On Thursday, 17 May 2018 22:23:29 PDT alexander golks wrote:
> the QFile::write call returns with no error, i called GetLastError() after
> the QFile::write() and got 183. the file is written up to ~30MB, and
> suddenly already exists?
If there was no error reported, trying to get the error state resutls in
garbage.
Using GetLastError() to get error codes from Qt reported failures is also
garbage. Qt code may have done more operations after it found the error, which
may have overwritten the last error code.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Interest
mailing list