[Qt-interest] QAbstractFileEngine problems
Jason H
scorp1us at yahoo.com
Thu Jul 8 01:28:47 CEST 2010
Ok, I seem to have found it. Qafe::flush returns -1 by default. I can fix that by going unbuffered, but I'd rather not. What should my flush look like?
-J
On Jul 7, 2010, at 6:05 PM, Thiago Macieira <thiago at kde.org> wrote:
> On Wednesday 7. July 2010 22.49.47 Jason H wrote:
>> You never did answer my question though. Given my DatabaseFileEngine
>> impements write() why is QFile never calling it?
>
> Read the other reply I sent to you, which says:
>
>>> And you didn't answer my question. What needs to happen to have me write
>>> data? The file creation on open() happens, but my custom write (const
>>> char *, qint64) handler never gets called.
>>
>> No, I didn't. I don't know what's wrong. I simply took the opportunity to
>> recommend you redesign your approach for your new application.
>>
>> I suggest debugging into QIODevice::write / QFile::writeData to see where it
>> ends up.
>
> --
> Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> Senior Product Manager - Nokia, Qt Development Frameworks
> PGP/GPG: 0x6EF45358; fingerprint:
> E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list