misc/quazip/doc/faq.dox
author nemo
Sun, 13 May 2012 18:31:05 -0400
changeset 7077 74b0265d79e8
parent 5752 ea95ee97c805
permissions -rw-r--r--
oops
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
 **/