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

2018-05-10 Thread Thiago Macieira
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 t

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

2018-05-10 Thread alexander golks
hi, > have you seen https://bugreports.qt.io/browse/QTBUG-56616 ? > Your problem sounds a bit like it, although the bug should be fixed in > Qt 5.6.3. i have had a look now, and my file is only ~50MB in this case, so this bug should be no problem. besides, i am running on 5.6.3, as i haven't a

[Interest] Internal QML context does not accept property

2018-05-10 Thread Richard Weickelt
I am loading a QML document with the following structure: A { B { } B { } } At some point in the application I am iterating over all B components and want to do: qmlContext(B)->setContextProperty("bla", "value") I need to assign different values to each instance of B. But I get the

Re: [Interest] Faster QXmlStreamWriter?

2018-05-10 Thread Vadim Peretokin
I went with pugixml (https://pugixml.org) for anyone interested and the speed savings are worth it. It is also fairly easy to transition from qml to pugixml and as a bonus, it does not choke on non-printable characters. On Sun, Apr 29, 2018 at 10:58 PM Gunnar Roth wrote: > >Hi Thiago > > > > >PS