misc/quazip/doc/faq.dox
branchwebgl
changeset 8096 453917e94e55
parent 8053 2e836bebb518
parent 8093 2286a39140da
child 8099 a7f02b902b6f
equal deleted inserted replaced
8053:2e836bebb518 8096:453917e94e55
     1 /**
       
     2  * \page faq QuaZip FAQ
       
     3  *
       
     4  * <!--
       
     5  * \ref faq-GPL "Q. Is it possible to release an LGPL version of the QuaZip?"
       
     6  *
       
     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?"
       
     8  * -->
       
     9  *
       
    10  * \anchor faq-GPL Q. Is it possible to release an LGPL version of the
       
    11  * QuaZip?
       
    12  *
       
    13  * A. I do not know much about licensing, so I can answer for sure, but
       
    14  * QuaZip was developed using Open Source edition of Qt, so I see no
       
    15  * way it could be released under anything except GPL.
       
    16  *
       
    17  * \anchor faq-non-QIODevice Q. Is there any way to use QuaZipFile in Qt
       
    18  * where you are supposed to use normal (non-zipped) file, but not
       
    19  * through QIODevice API?
       
    20  *
       
    21  * A. Usually not. For example, if you are passing file name to some
       
    22  * database driver (like SQLite), Qt usually just passes this name down
       
    23  * to the 3rd-party library, which is usually does not know anything
       
    24  * about QIODevice and therefore there is no way to pass QuaZipFile as
       
    25  * normal file. However, if we are talking about some place where you
       
    26  * pass file name, and then indirectly use QFile to open it, then it is
       
    27  * a good idea to make overloaded method, which accepts QIODevice
       
    28  * pointer. Then you would be able to pass QuaZipFile as well as many
       
    29  * other nice things such as QBuffer or QProcess.
       
    30  **/