[Interest] QFile subclass that does HFS compression?

Marian Beermann public at enkore.de
Wed Dec 19 12:41:18 CET 2018


The easiest way is probably a QIODevice wrapper implementing the HFS
compression. Although I'm honestly surprised someone designed an
interface like this. "Neither smart nor good" might be a ML-friendly way
of putting it.

Cheers, Marian

Am 19.12.18 um 11:06 schrieb René J. V. Bertin:
> Thiago Macieira wrote:
> 
>> where that is supported. Just get the file descriptor from QFile, do the
>> ioctl/fcntl/whatever that turns the feature on and write the correct byte
>> stream.
> 
> You realise that you're basically saying not to use QFile at all in this 
> application (there are cheaper ways to obtain a file descriptor).
> 
>>> The question is more how feasible it is to integrate a compression engine of
>>> the type I outlined above (chunked zip) into QFile.
>>
>> I don't want it.
> 
> My question was about technical feasibility.
> 
> R.
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest
> 




More information about the Interest mailing list