| 1 | QuaZIP is the C++ wrapper for Gilles Vollant's ZIP/UNZIP package | 
 
 
 
 
 | 2 | (AKA minizip) using Trolltech's Qt library. | 
 
 
 
 
 | 3 |  | 
 
 
 
 
 | 4 | It uses existing ZIP/UNZIP package C code and therefore depends on | 
 
 
 
 
 | 5 | the zlib library. | 
 
 
 
 
 | 6 |  | 
 
 
 
 
 | 7 | Also, it depends on Qt 4. | 
 
 
 
 
 | 8 |  | 
 
 
 
 
 | 9 | To compile it on UNIX dialect: | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | $ cd quazip | 
 
 
 
 
 | 12 | $ qmake | 
 
 
 
 
 | 13 | $ make | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 | You must make sure that: | 
 
 
 
 
 | 16 | * You have Qt 4 properly and fully installed (including tools and | 
 
 
 
 
 | 17 | headers, not just library) | 
 
 
 
 
 | 18 | * "qmake" command runs Qt 4's qmake, not some other version (you'll have | 
 
 
 
 
 | 19 | to type full path to qmake otherwise). | 
 
 
 
 
 | 20 |  | 
 
 
 
 
 | 21 | To install compiled shared library, just type: | 
 
 
 
 
 | 22 |  | 
 
 
 
 
 | 23 | $ make install | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 | By default, it installs in /usr/local, but you may change it using | 
 
 
 
 
 | 26 |  | 
 
 
 
 
 | 27 | $ qmake PREFIX=/wherever/you/want/to/install | 
 
 
 
 
 | 28 |  | 
 
 
 
 
 | 29 | You do not have to compile and install QuaZIP to use it. You can just | 
 
 
 
 
 | 30 | (and sometimes it may be the best way) add QuaZIP's source files to your | 
 
 
 
 
 | 31 | project and use them. | 
 
 
 
 
 | 32 |  | 
 
 
 
 
 | 33 | See doc/html or, if you do not have a browser, quazip/*.h and | 
 
 
 
 
 | 34 | quazip/doc/* files for the more detailed documentation. | 
 
 
 
 
 | 35 |  | 
 
 
 
 
 | 36 | For Windows, it's essentially the same, but you may have to adjust | 
 
 
 
 
 | 37 | settings for different environments. | 
 
 
 
 
 | 38 |  | 
 
 
 
 
 | 39 | If you want to include QuaZIP sources directly in your project or if | 
 
 
 
 
 | 40 | you want to use QuaZIP compiled as a static library using | 
 
 
 
 
 | 41 | "qmake CONFIG+=statliclib", you have to define the QUAZIP_STATIC macro, | 
 
 
 
 
 | 42 | otherwise you're likely to run into problems as QuaZIP symbols will be | 
 
 
 
 
 | 43 | marked as dllimported. | 
 
 
 
 
 | 44 |  | 
 
 
 
 
 | 45 | Copyright notice: | 
 
 
 
 
 | 46 |  | 
 
 
 
 
 | 47 | Copyright (C) 2005-2012 Sergey A. Tachenov | 
 
 
 
 
 | 48 |  | 
 
 
 
 
 | 49 | This program is free software; you can redistribute it and/or modify it | 
 
 
 
 
 | 50 | under the terms of the GNU Lesser General Public License as published by | 
 
 
 
 
 | 51 | the Free Software Foundation; either version 2 of the License, or (at | 
 
 
 
 
 | 52 | your option) any later version. | 
 
 
 
 
 | 53 |  | 
 
 
 
 
 | 54 | This program is distributed in the hope that it will be useful, but | 
 
 
 
 
 | 55 | WITHOUT ANY WARRANTY; without even the implied warranty of | 
 
 
 
 
 | 56 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser | 
 
 
 
 
 | 57 | General Public License for more details. | 
 
 
 
 
 | 58 |  | 
 
 
 
 
 | 59 | You should have received a copy of the GNU Lesser General Public License | 
 
 
 
 
 | 60 | along with this program; if not, write to the Free Software Foundation, | 
 
 
 
 
 | 61 | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 
 
 
 
 
 | 62 |  | 
 
 
 
 
 | 63 | See COPYING file for the full LGPL text. | 
 
 
 
 
 | 64 |  | 
 
 
 
 
 | 65 | Original ZIP package is copyrighted by Gilles Vollant, see | 
 
 
 
 
 | 66 | quazip/(un)zip.h files for details, basically it's zlib license. |