misc/quazip/doc/faq.dox
author belphegorr <szabibibi@gmail.com>
Tue, 03 Jul 2012 12:15:07 +0300
changeset 7219 6c7739c6446f
parent 5752 ea95ee97c805
permissions -rw-r--r--
Set the choice constants to the correct values (1-3 instead of 0-2).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5752
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     1
/**
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     2
 * \page faq QuaZip FAQ
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     3
 *
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     4
 * <!--
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     5
 * \ref faq-GPL "Q. Is it possible to release an LGPL version of the QuaZip?"
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     6
 *
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     7
 * \ref faq-non-QIODevice "Q. Is there any way to use QuaZipFile in Qt where you are supposed to use normal (non-zipped) file, but not through QIODevice API?"
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     8
 * -->
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
     9
 *
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    10
 * \anchor faq-GPL Q. Is it possible to release an LGPL version of the
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    11
 * QuaZip?
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    12
 *
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    13
 * A. I do not know much about licensing, so I can answer for sure, but
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    14
 * QuaZip was developed using Open Source edition of Qt, so I see no
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    15
 * way it could be released under anything except GPL.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    16
 *
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    17
 * \anchor faq-non-QIODevice Q. Is there any way to use QuaZipFile in Qt
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    18
 * where you are supposed to use normal (non-zipped) file, but not
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    19
 * through QIODevice API?
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    20
 *
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    21
 * A. Usually not. For example, if you are passing file name to some
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    22
 * database driver (like SQLite), Qt usually just passes this name down
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    23
 * to the 3rd-party library, which is usually does not know anything
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    24
 * about QIODevice and therefore there is no way to pass QuaZipFile as
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    25
 * normal file. However, if we are talking about some place where you
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    26
 * pass file name, and then indirectly use QFile to open it, then it is
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    27
 * a good idea to make overloaded method, which accepts QIODevice
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    28
 * pointer. Then you would be able to pass QuaZipFile as well as many
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    29
 * other nice things such as QBuffer or QProcess.
ea95ee97c805 Add QuaZIP library to build system
unc0rr
parents:
diff changeset
    30
 **/