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
8
votes
2 answers

Qt: Simple Example for Quazip

I built the quazip library. I need a simple example that shows how to unzip a zip File. For example. Quazip zipFile( QFile("test.zip") ); zipFile.unzip(); Tests shown in quazip is little bit confusing. I searched for a brief amount of time to find…
ssk
  • 9,045
  • 26
  • 96
  • 169
7
votes
3 answers

How to build Quazip 0.5.1 on Windows 7?

I'm trying to build the quazip libary (version 0.5.1) on Windows 7 (32-bit) with Qt 5.0.1 32-Bit LGPL installed. When i run in the Qt-Commandprompt: qmake mingw32-make with the directory set to the folder in which I extracted Quazip…
LVreg
  • 71
  • 1
  • 3
4
votes
3 answers

How can I zip a directory/folder with quazip?

I have a directory with files and folders that I would like to zip. I'm using the qt-project quazip for it. So I thought I write a function that packs all content of a directory including the filestructure. How can I create the folder in the…
mrgremlin
  • 321
  • 2
  • 15
3
votes
2 answers

Zipping a .txt file in Qt

I have a simple application in Qt where the user enters data in a text file, which is then saved on desktop. After that I would like to be able to insert the .txt file in a .zip file. I have tried to use QuaZIP with no success, it seems too…
croussou
  • 77
  • 1
  • 6
3
votes
1 answer

using QuaZip on Windows with VS2008

I'm using QT4.7.3, VS2008 and trying to add QuaZip library. I got QuaZip, Zlib and compile it, and then I can make "quazip.lib" file. I added quazip.lib to "Project property->Configuration Properties->Linker->Input->Additional Dependencies" and…
Dong Geun Oh
  • 93
  • 2
  • 10
3
votes
1 answer

QT 4 - How to build QuaZip and QtCrypto to .Lib?

Latest news: I fixed QuaZip issue The QtCrypto is work on Desktop platform (with AES 256) now. But how to build the lib for Symbian? Questions: How do I Build the .lib file of QtCryptoand QuaZip ? (details as below) How to Use the Lib in a new QT…
MagicR
  • 75
  • 6
3
votes
2 answers

Write QStream to file in zip with QuaZip

I want to write a QString in a textfile in a ziparchive with QuaZip. I use Qt Creator on WinXP. With my code the text-file in the archive is created but empty. QDomDocument doc; /* doc is filled with some XML-data */ zipfile = new…
cad
  • 347
  • 5
  • 20
2
votes
1 answer

Qt 4 - QuaZip - File size limitation and memory issue

I use Qt 4 to build a Symbian Application. The app use Quazip library to unzip a file. It's work well if the file size under 13mb. But if the file size larger than 13mb. it cannot unzip. Is there any memory issue or file size limitation in QuaZip…
MagicR
  • 75
  • 6
2
votes
1 answer

Build zLib with CMake

I'm trying to build Zlib and quazip automatic with the rest of my project. I want to do it in a similar way as I add googletest to my project. zLib and Quazip shall be linked static to my App. I want to to this because of CI/ CD reasons and if…
Sorkfa
  • 629
  • 7
  • 23
2
votes
1 answer

Build c++ Qt CLI Tool with Quazip

so normally I am an embedded software developer first time I need to do something like that... So I am no expert at all at this... I have come this far with a lot of googling and trial and error methods... What I want to do I need to write a C++ CLI…
Sorkfa
  • 629
  • 7
  • 23
2
votes
1 answer

How to connect the QuaZip library in CMake

My project uses the QuaZip library, and I need to build the project through CMake. How to add this library to CMakeLists? From the library I need JlCompress My CMakeLists: cmake_minimum_required(VERSION 3.6) #set_property(GLOBAL PROPERTY…
dipatov
  • 23
  • 1
  • 5
2
votes
0 answers

How zip/unzip handles the symbolic links on unix systems?

I'm using QuaZip for compressing files. There is a bug in the lib when you try to archive some folders that contain symlinks(aliases on mac), the file attributes are not preserved correctly in the archive. Is there a possibility to set the filetype…
cosmarc
  • 562
  • 3
  • 19
2
votes
1 answer

How to use Quazip with Qt 5.6, Qt Creator on Windows 10?

Sorry that I am not experienced in this kind of stuff, but I have been searching the internet for a while to find out how to use Quazip with Qt 5.6 on Win 10. I would greatly appreciate a list of steps on how to build Quazip and use it in Qt…
Dillydill123
  • 693
  • 7
  • 22
2
votes
1 answer

Compile quazip under windows 8.1 and qt creator

I'm new and trying to use Quazip under qt 5.5. So I just downloaded project sources from http://quazip.sourceforge.net/ and opened .pro file. When I try to build project I 've got multiple errors: C1083: Cannot open include file: 'zlib.h': No such…
Isaac
  • 115
  • 10
2
votes
0 answers

QT5.1.1 QuaZip error: "QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode"

I have some code that should unzip a compressed file. That code worked for me before but now I installed a fresh Linux Ubuntu system and fresh QT 5.1.1 creator and that code doesn't work anymore. I installed also some required packages and it…
P5music
  • 3,197
  • 2
  • 32
  • 81
1
2 3 4