Zip support in Qt?



  • To be honest, I am quite surprised Qt sill offers no support for working with zip archive - not only is zip the most popular (arguably the best but still) archive format, but there is a huge array of other file formats that use zip, MS Word and OpenOffice documents for example.

    I am aware of QuaZIP, but it is still a third party solution, albeit a simple wrapper. Considering internally Qt already almost supports zip (for stuff like png) why isn't the zip format officially supported?

    Integrating QuaZIP or a new implementation to support the zip format will undoubtedly be a valuable addition to Qt, allowing to create archives as well as open archives and thus many other popular formats.



  • Topics about Zip have been discussed several times before. Please have a look at the FAQ section: "How to compress data with Qt?":http://qt-project.org/faq/answer/how_to_compress_data_with_qt


  • Moderators

    If this is a feature request or anything along the lines of wishful thinking you should probably report it through appropriate channels, find other like-minded, convince people to vote for it and lobby it a little in the community. Don't think that anyone will scan this forum for ideas and just jump into implementing it because you think it's a good idea. It's not how this works.



  • [quote author="Krzysztof Kawa" date="1359058349"]you should probably report it through appropriate channels[/quote]

    Btw the appropriate channel is "Qt's JIRA":https://bugreports.qt-project.org There are several issues related to ZIP. May be the most appropriate for feature request is QTBUG-3897: "Please make QZip as a permanent class inside Qt":https://bugreports.qt-project.org/browse/QTBUG-3897


  • Moderators

    [quote author="leon.anavi" date="1359058685"]
    Btw the appropriate channel is "Qt's JIRA"[/quote]
    Yeees, but utcenter was sent there so many times on this forum I didn't want to enrage him by posting the link again :)



  • [quote author="Krzysztof Kawa" date="1359058855"]
    Yeees, but utcenter was sent there so many times on this forum I didn't want to enrage him by posting the link again :)[/quote]

    Oh, I understand now :)

    I've just voted for both "QTBUG-3897":https://bugreports.qt-project.org/browse/QTBUG-3897 and "QTBUG-20896":https://bugreports.qt-project.org/browse/QTBUG-20896. The request for ZIP of the box seems reasonable :)



  • [quote author="Krzysztof Kawa" date="1359058855"]
    [quote author="leon.anavi" date="1359058685"]
    Btw the appropriate channel is "Qt's JIRA"[/quote]
    Yeees, but utcenter was sent there so many times on this forum I didn't want to enrage him by posting the link again :)[/quote]

    That's funny, because you appear to want to enrage me by getting all personal and sarcastic on me ;) And I bet repeating something once more is hell of a lot better than attempts to mock me...

    I also voted, but the question is do those 72 votes quantify and how much is needed for a request to be paid attention to? Hopefully, votes there aren't as worthless as those here in the forum appear to be...



  • [quote author="utcenter" date="1359060330"]
    I also voted, but the question is do those 72 votes quantify and how much is needed for a request to be paid attention to? Hopefully, votes there aren't as worthless as those here in the forum appear to be...[/quote]

    "QTBUG-20896":https://bugreports.qt-project.org/browse/QTBUG-20896 was marked as a feature for the next minor release - Qt 5.1.0 almost a year ago. I hope that it is still on the pipeline despite the transition of Qt from Nokia to Digia :)


  • Moderators

    [quote author="utcenter" date="1359060330"]
    That's funny, because you appear to want to enrage me by getting all personal and sarcastic on me ;)[/quote]
    Nah, all love and fluffiness here :)
    [quote author="utcenter" date="1359060330"]
    I also voted, but the question is do those 72 votes quantify and how much is needed for a request to be paid attention to? Hopefully, votes there aren't as worthless as those here in the forum appear to be...[/quote]
    Sorting Jira by votes shows this as a number one feature request so there's a chance it will catch some attention sooner or later. You might try to bug some people on the IRC channel about it, but I expect heavy resistance because of the massive number of 3rd party solutions out there.
    It makes sense to put it in the core lib but nobody likes to put their time into reinventing the wheel so my guess is there would have to be significant push, or, better yet, a commercial user request.



  • Unfortunately, zip support appears to have slipped away yet again. It was scheduled for 5.1, now it is "some future release"...


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.