You can use the static functions of the JlCompress class. It is very easy to use.
Static functions of public users
static bool compressFile (QString fileCompressed, QString file) static bool compressFiles (QString fileCompressed, QStringList files) static bool compressDir (QString fileCompressed, QString dir=QString(), bool recursive=true) static QString extractFile (QString fileCompressed, QString fileName, QString fileDest=QString()) static QStringList extractFiles (QString fileCompressed, QStringList files, QString dir=QString()) static QStringList extractDir (QString fileCompressed, QString dir=QString()) static QStringList getFileList (QString fileCompressed)
Source: http://quazip.sourceforge.net/classJlCompress.html
source share