PDA

View Full Version : Zip module for Qt



arpspatel
28th October 2009, 04:21
I am trying to create a file format for use with my collection organizer project and have decided to use a structure which includes couple of xml files and a folder for images in a zip file. What i want to find figure out is what would be the best way to

1. Unzip file into temp folder for working on open
2. Zip the file on save
3. delete temp folder on close() signal
4. IMPORTANT PART is that the structure of the folder must remain intact no temp folder names or such should be included in the zip file

I tried using QProcess, but it was very buggy (for me), so just deleted it. also tried the qCompress, but that only does the file and not the whole folder.

Thanks Guys

Lesiok
28th October 2009, 06:34
We are using QuaZIP (http://quazip.sourceforge.net/)