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 (
Hi Alexander,
On 5/9/2018 11:09 AM, alexander golks wrote:
hi,
i recently stumbled over this situation, running on windows 7 using qt-5.6.3.
when trying to write ~50MB of data, write does not always complete, the file
does not contain all data,
yet no error is returned.
i always thought, QFil
On 8 May 2018 at 04:12, Giuseppe D'Angelo wrote:
> Il 07/05/2018 20:24, Christian Ehrlicher ha scritto:
>>
>> I did not found a hint int the documentation about this behavior.
>> Therefore my question - should this work for a queued connection or not?
>> At least msvc2017 and gcc 4.8 don't like it
yes. i am sure. was another hard time to learn this ;)
Am Wed, 9 May 2018 11:57:08 +0200
schrieb Helmut Mülner :
> Are you sure your QByteArray has the correct size?
> If your constructed it from a const char* and did not give the size, it may
> contain only data up to the first zero byte.
>
> h
Are you sure your QByteArray has the correct size?
If your constructed it from a const char* and did not give the size, it may
contain only data up to the first zero byte.
helmut
-Ursprüngliche Nachricht-
Von: Interest
[mailto:interest-bounces+helmut.muelner=gmail@qt-project.org] Im A
Am Wed, 09 May 2018 09:24:58 +
schrieb Vadim Peretokin :
yes, i tried flushing the file, too. but this changed nothing.
i now have same do while loop as in
qint64 QFSFileEnginePrivate::nativeWrite(const char *data, qint64 len)
and this works. this writes complete file.
but i think, QFile i
Obvious question but do you flush?
On Wed, May 9, 2018 at 11:09 AM alexander golks wrote:
> hi,
>
> i recently stumbled over this situation, running on windows 7 using
> qt-5.6.3.
> when trying to write ~50MB of data, write does not always complete, the
> file does not contain all data,
> yet no
hi,
i recently stumbled over this situation, running on windows 7 using qt-5.6.3.
when trying to write ~50MB of data, write does not always complete, the file
does not contain all data,
yet no error is returned.
i always thought, QFile::write(const QByteArray&) is meant to write all data.
as sta