Hi,
I want to be able to read from a zip file directly.
On doing some research I found something called QuaZIP @ http://quazip.sourceforge.net/
Is there something directly provided by Qt. Or any guidance on how can it be done ??
Regards,
Raj
Printable View
Hi,
I want to be able to read from a zip file directly.
On doing some research I found something called QuaZIP @ http://quazip.sourceforge.net/
Is there something directly provided by Qt. Or any guidance on how can it be done ??
Regards,
Raj
Hi Raj!
I ended up using quazip as well. I just looked it up in my old code - direct reading works like this:
HIHCode:
QuaZip zip(zipName); if(!zip.open(QuaZip::mdUnzip)) {Maintenance_PTE->appendPlainText(QString("Import: zip open error: %1").arg(zip.getZipError()));return;} if (!zip.setCurrentFile("entries.txt")) {Maintenance_PTE->appendPlainText(QString("Zip entries.txt error: %1").arg(zip.getZipError()));return;} QuaZipFile inFile(&zip); { ... inFile.close(); } zip.close();
Joh
Hi Joh,
Thanks a lot. This will definitely help.
Regards,
Raj