<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>QuaZIP: QuaZIP FAQ</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">QuaZIP  <span id="projectnumber">quazip-0-7-6</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </script> <div id="main-nav"></div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">QuaZIP FAQ </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><p><a class="anchor" id="faq-non-QIODevice"></a>Q. Is there any way to use <a class="el" href="classQuaZipFile.html" title="A file inside ZIP archive. ">QuaZipFile</a> in Qt where you are supposed to use normal (non-zipped) file, but not through QIODevice API?</p> <p>A. Usually not. For example, if you are passing file name to some database driver (like SQLite), Qt usually just passes this name down to the 3rd-party library, which is usually does not know anything about QIODevice and therefore there is no way to pass <a class="el" href="classQuaZipFile.html" title="A file inside ZIP archive. ">QuaZipFile</a> as a normal file. However, if we are talking about some place where you pass file name, and then internally use QFile to open it, then it is a good idea to make an overloaded method, which accepts a QIODevice pointer. Then you would be able to pass <a class="el" href="classQuaZipFile.html" title="A file inside ZIP archive. ">QuaZipFile</a> as well as many other nice things such as QBuffer or QProcess. Of course, that's only possible if you have control over the sources of the particular class.</p> <p><a class="anchor" id="faq-zip64"></a>Q. Can QuaZIP handle files larger than 4GB? What about zip64 standard?</p> <p>A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64 support which should handle large files perfectly. The zip64 support in Minizip looks like it's not 100% conforming to the standard, but 3rd party tools seem to have no problem with the resulting archives.</p> <p><a class="anchor" id="faq-seekable"></a>Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket?</p> <p>A. Yes, it's possible since QuaZIP v0.7. It's only possible in mdCreate mode, no mdAppend support.</p> <p><a class="anchor" id="faq-Minizip-update"></a>Q. Can I use another version of Minizip in QuaZIP, not the bundled one?</p> <p>A. No, unfortunately not. To support reading/writing ZIP archives from/to QIODevice objects, some modifications were needed to Minizip. Now that there is a Minizip fork on GitHub, it is theoretically possible to backport these modifications into Minizip in a backward-compatible manner to ensure seamless integration with QuaZIP, but it hasn't been done yet, and there are no short-term plans, only a long-term goal. </p> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Wed Aug 15 2018 04:31:24 for QuaZIP by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>