[Qt-interest] Reading/Writing archives

Andre Somers andre at familiesomers.nl
Mon Mar 15 13:14:38 CET 2010


Tim Dewhirst wrote:
> Hello,
>
> Frederic Tingaud wrote:
>   
>> I am working on a project where users can create libraries for the
>> application that would be a set of file. My first idea was to read/write
>> a zip file (or any supported archive format) containing all the files,
>> renamed with our own extension. That would allow users to have a single
>> file to distribute and they can manipulate the file outside the
>> application if they really want to.
>> I don't want to use a QProcess with an other application and I would
>> rather not uncompress the file on the user's disk.
>> The problem is that I searched the documentation and the web and I
>> cannot find anybody doing something like that except for KDE with their
>> KArchive.
>> Does anybody have an idea on a way to achieve this?
>>     
>
> I think you should be able to achieve what you're asking with this:
>
> http://bugless.co.uk/products/archive/archive.html
>
> Thanks,
>
>   
I've used this solution before with success. It nicely integrates with 
Qt's IO system.

André




More information about the Qt-interest-old mailing list