[Interest] Use Qt to zip / unzip files on iOS, Android, OS X, & Windows ?

Edward Sutton edward.sutton at subsite.com
Thu Aug 18 23:13:57 CEST 2016


Andy, thanks for sharing the article.

On second thought we do not need ZIP file compatibility.  We just need to reduce data size of XML to speed up data transfers over Bluetooth.

We are going to try using the QByteArray compress functions.

-Ed

On Aug 18, 2016, at 4:02 PM, Andy <asmaloney at gmail.com<mailto:asmaloney at gmail.com>> wrote:

Ed:

I don't know if it's useful or not, but years ago I wrote a little in-memory zip class you might be able to modify or build on.  It uses minizip.

"In-memory ZIP File Access Using Qt"
https://asmaloney.com/2011/12/code/in-memory-zip-file-access-using-qt/<https://urldefense.proofpoint.com/v2/url?u=https-3A__asmaloney.com_2011_12_code_in-2Dmemory-2Dzip-2Dfile-2Daccess-2Dusing-2Dqt_&d=DQMFaQ&c=G4BpsyPyB19LB50bn2swXw&r=cAG2c-SQES5P2qb8IW-uwnBOCX_f2qYJIlzenFnoHUc&m=eySxTHv13L-9OyYMWDMdDDy218-vYJS9Bh9328PPZ0g&s=2GnYF5bqtMH4J0U3-9h8kiKAh2Oz1VhzreZym8F6hlM&e=>

I think I have a more fleshed-out version somewhere.  If it's of interest I can try to find it and dust of the decaying bits :-)



---
Andy Maloney  //  https://asmaloney.com<https://urldefense.proofpoint.com/v2/url?u=https-3A__asmaloney.com&d=DQMFaQ&c=G4BpsyPyB19LB50bn2swXw&r=cAG2c-SQES5P2qb8IW-uwnBOCX_f2qYJIlzenFnoHUc&m=eySxTHv13L-9OyYMWDMdDDy218-vYJS9Bh9328PPZ0g&s=GNTmA6GKw1zPxSy7MgVIRf_nJNejVQNciYtNW2GPY3o&e=>
twitter ~ @asmaloney<https://urldefense.proofpoint.com/v2/url?u=https-3A__twitter.com_asmaloney&d=DQMFaQ&c=G4BpsyPyB19LB50bn2swXw&r=cAG2c-SQES5P2qb8IW-uwnBOCX_f2qYJIlzenFnoHUc&m=eySxTHv13L-9OyYMWDMdDDy218-vYJS9Bh9328PPZ0g&s=Uz8SUTfkGVhKSXQZf50ns9nZaHQRFTpCnlxq-Df4juI&e=>


On Thu, Aug 18, 2016 at 4:52 PM, Edward Sutton <edward.sutton at subsite.com<mailto:edward.sutton at subsite.com>> wrote:
Is there a solution in Qt 5.6 LTS ?

Else maybe a 3rd party lib such as QuaZip is good?

http://quazip.sourceforge.net/<https://urldefense.proofpoint.com/v2/url?u=http-3A__quazip.sourceforge.net_&d=DQMFaQ&c=G4BpsyPyB19LB50bn2swXw&r=cAG2c-SQES5P2qb8IW-uwnBOCX_f2qYJIlzenFnoHUc&m=eySxTHv13L-9OyYMWDMdDDy218-vYJS9Bh9328PPZ0g&s=DwBfGXvw6UOv1ETH8GAIr0ytcZz7wEguljpk8Aw1eYo&e=>

-Ed
This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.qt-2Dproject.org_mailman_listinfo_interest&d=DQMFaQ&c=G4BpsyPyB19LB50bn2swXw&r=cAG2c-SQES5P2qb8IW-uwnBOCX_f2qYJIlzenFnoHUc&m=eySxTHv13L-9OyYMWDMdDDy218-vYJS9Bh9328PPZ0g&s=1p8WLYXODn6kh2wu28h6By5fpOf1C4CPE4oLiGNiqLk&e=>



This email and any files transmitted with it from The Charles Machine Works, Inc. are confidential and intended solely for the use of the individual or entity to which they are addressed. If you have received this email in error please notify the sender. Our company accepts no liability for the contents of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160818/cfd81df9/attachment.html>


More information about the Interest mailing list