Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. I'd like to create an uncompressed zip file using Quazip

I'd like to create an uncompressed zip file using Quazip

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
3 Posts 3 Posters 1.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    m.kawakami
    wrote on last edited by
    #1

    Hi, I'd like to create an uncompressed zip file using Quazip. What kind of API should I use?
    I thought that it was QuaZipFile, but the following error will appear.

    ”QuaZipFile::open(): write mode is incompatible with internal QuaZip approach”

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's a question better asked to the author of that library.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by VRonin
        #3

        QuaZipFile is a file inside the zip, not the zip file itself

        See https://stackoverflow.com/questions/2598117/zipping-a-folder-file-using-qt/2598649#2598649 for an example (in outFile.open() you'll have to pass 3 more arguments, all of them 0 to have no compression) or use the easier, more maintained KArchive library instead

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved