Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QGZipSteamReader
Qt 6.11 is out! See what's new in the release blog

QGZipSteamReader

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 850 Views
  • 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.
  • D Offline
    D Offline
    dridk2
    wrote on last edited by dridk2
    #1

    Do you know if someone has already done this important class to read gzip file ?
    I already tried QUnzipFile from Quazip.. But it doesn't work as expected.. device.pos() return random value.

    And by the way, all language has this feature... Except Qt !
    See: https://docs.oracle.com/javase/7/docs/api/java/util/zip/GZIPInputStream.html

    1 Reply Last reply
    0
    • VRoninV VRonin

      Qt is not a language, C++ is and there are plenty of libraries to handle gzip in C++

      You are lucky though as there is a Qt-flavoured library and is supported by KDE itself: KArchive

      D Offline
      D Offline
      dridk2
      wrote on last edited by dridk2
      #3

      @VRonin
      Yes, by definition Qt is not a language. By language I mean standard library of the language. Qt has its own standard. For exemple we use QString and not std::string.
      So, if I rephrase : Standard library of Python and Java provides gzip wrapper, but not Qt.

      So, I finally get something : QZip https://github.com/vic20/QZip
      Seems it's the same code than KArchive that you suggest. Thanks !

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

        Qt is not a language, C++ is and there are plenty of libraries to handle gzip in C++

        You are lucky though as there is a Qt-flavoured library and is supported by KDE itself: KArchive

        "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

        D 1 Reply Last reply
        2
        • VRoninV VRonin

          Qt is not a language, C++ is and there are plenty of libraries to handle gzip in C++

          You are lucky though as there is a Qt-flavoured library and is supported by KDE itself: KArchive

          D Offline
          D Offline
          dridk2
          wrote on last edited by dridk2
          #3

          @VRonin
          Yes, by definition Qt is not a language. By language I mean standard library of the language. Qt has its own standard. For exemple we use QString and not std::string.
          So, if I rephrase : Standard library of Python and Java provides gzip wrapper, but not Qt.

          So, I finally get something : QZip https://github.com/vic20/QZip
          Seems it's the same code than KArchive that you suggest. Thanks !

          1 Reply Last reply
          0

          • Login

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