Questions tagged [quazip]

`QuaZIP` is a simple `C++` wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the `Qt toolkit`.

QuaZIP is the C++ wrapper for Gilles Vollant's ZIP/UNZIP package (AKA Minizip) using Trolltech's Qt library.

It provides an abstraction of the ZIP/UNZIP API for reading writing ZIP archives and allow you to access files inside ZIP archives using QIODevice API.

47 questions
2
votes
0 answers

How to create a empty folder with QuaZIP

I've successfully created folders and files inside a ZIP file with QuaZIP, but to create a folder i used a not elegant way, that creates a file without name inside the ZIP file. Is there any way to create empty folders inside a ZIP file without…
Antonio Dias
  • 2,751
  • 20
  • 40
1
vote
0 answers

linking QuaZip with Qt 4.8.0 into project

I have a project where I want to unzip files. I have found Quazip to be close to the implementation I want(check), but.... when build the project the compiler says Makefile.Release:241: warning: overriding commands for…
1
vote
1 answer

Quazip-1.3 static linking issue

I have built Quazip-1.3 libs statically with zlib-win-build-1.2.12 (build-VS2019-MT) - libz-static.lib. When I try to build my project then I get a lot of linking errors: LINK : warning LNK4217: symbol '?commit@QSaveFile@@QAE_NXZ (public: bool…
Cobra91151
  • 610
  • 4
  • 14
1
vote
1 answer

quazip-0-7-3 build fails on windows

The following is what I did and the error message: downloads quazip-0-7-3 from http://quazip.sourceforge.net/index.html, and unzip it to c:\Qt, run the following commands and it gets the error at the end: C:\Qt\quazip-0.7.3\quazip>where…
cnm
  • 113
  • 11
1
vote
0 answers

How to compile and use QuaZip on Windows? Do I need to separately install zlib?

I need to create a simple .zip file with bitmaps inside. I'm using Qt, so I'd like the library I'm using for that to be similar to Qt as much as possible. After googling for a while I was sure that QuaZip is a perfect solution. But I fail to install…
Septagram
  • 9,425
  • 13
  • 50
  • 81
1
vote
0 answers

QuaZIP unable to open password protected file error 103

I'm trying to open a password protected ZIP file using QuaZIP in Qt but it isn't working. It works nicely if I remove password protection from the zip file. Here's my code QuaZip…
Farhan Haider
  • 1,244
  • 1
  • 13
  • 22
1
vote
1 answer

Get progress of directory compress with Quazip

Is there anyway to get the progress from QuaZip when using the JlCompress function? Here's the way I'm using it: JlCompress::compressDir(outputFile, inputDir, true);
SionHughes
  • 128
  • 11
1
vote
0 answers

Issue in QT 5.2.1 app in linking libquazip.so library during making .deb package for ubuntu 14.04

I am making .deb package for the QT 5 .2.1 desktop app for ubuntu 14.04 64 bit. I have installed QT 5.2.1 on Ubuntu 14.04 and made a demo app for the testing purpose in which I have used quazip library. During making the .deb package of the app I am…
User2546
  • 33
  • 1
  • 8
1
vote
0 answers

Can't extract exe or dll files with quazip (Qt)

I am building a qt framework to download and install application updates (like sparkle for obj-c). The download works, the downloaded zip file is valid and i can extract the contents manually but when I let my framework unzip the contents via quazip…
Tim
  • 929
  • 1
  • 14
  • 28
1
vote
3 answers

how to report progress of data read on a QuaGzipFile (QuaZIP library)

I am using QuaZIP 0.5.1 with Qt 5.1.1 for C++ on Ubuntu 12.04 x86_64. My program reads a large gzipped binary file, usually 1GB of uncompressed data or more, and makes some computations on it. It is not computational-extensive, and most of the time…
Ali
  • 452
  • 5
  • 15
1
vote
1 answer

QStringList of quazip::getFileNameList casts error by destruction

in Qt Creator (qt 4.8, winxp) I wrote QuaZip* zipfile = new QuaZip; zipfile->setZipName("myzipfile.zip"); zipfile->open(QuaZip::mdUnzip); if(zipfile->isOpen()){ QStringList files = zipfile->getFileNameList(); } // here the error occurs when…
cad
  • 347
  • 5
  • 20
1
vote
2 answers

Extracting .app on Mac with QuaZip

I'm basically trying to extract a Mac application from a zip file using QuaZip. The code I'm using is: QuaZip zip("file.zip"); qDebug() << zip.open(QuaZip::mdUnzip); QuaZipFile file(&zip); QFile…
MCPP
  • 49
  • 2
  • 6
0
votes
0 answers

Set qbytearray as input into quazip, and get archive as qbytearray and vice versa

I have some problem with archives library. I need send qbytearray to an archive class, and get it back as qbytearray of compressed data. The main reason - is that I need do decompress incoming message, because it was compressed before sending…
Albert
  • 81
  • 2
  • 8
0
votes
0 answers

.DAT file not extracted using Quazip library in qt

I am trying to extract .DAT file using Quazip library in Qt 5.14. I integrated this quazip library into my project and try to extract files using it. .txt file is get extracted but .DAT file is not get extracted. .DAT files are created but it does…
0
votes
1 answer

QuaZip removing files inside archive

Is it possible to remove files inside zip archive with quazip ?
sss123next
  • 295
  • 1
  • 3
  • 13