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. QTextStream and file.tar.gz
Forum Updated to NodeBB v4.3 + New Features

QTextStream and file.tar.gz

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 6.1k 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.
  • Z Offline
    Z Offline
    zerg2011
    wrote on last edited by
    #1

    Hi

    I have compressed file : file,tar.gz ( file.tar.Z as a variant )
    Is there any solution in Qt that allows to read file in such formats and get uncompressed content without utils like tar and gzip .

    I try to use QTextStream , but I don't know what codec should be used.

    Thanks.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      You cannot use QTextStream directly. Instead, take a look at the "FAQ":http://qt-project.org/faq/answer/how_to_compress_data_with_qt here. There are also already quite a number of topics on the forum on using compression and decompression and/or archiving.

      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