[Qt-interest] QAbstractFileEngine problems

Thiago Macieira thiago at kde.org
Wed Jul 7 18:21:04 CEST 2010


On Wednesday 7. July 2010 14.45.56 Jason H wrote:
> How am I supposed to provide a virtual file system separate from the OS
> then? I'll switch to some other class if I have to.

We don't have any plans of providing a VFS infrastructure. QAbstractFileEngine 
was such a proposal and we realised that it stands in the way of having very 
good non-virtual filesystem support.

> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100707/af8fba72/attachment.bin 


More information about the Qt-interest-old mailing list