Results 1 to 4 of 4

Thread: how to extract .tar and lz4 file's in Qt 5 ?

  1. #1
    Join Date
    Jan 2019
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default how to extract .tar and lz4 file's in Qt 5 ?

    hello friends.
    i have 2 file's with .tar and lz4 format. i want extract and compress with this formats. please help me, i can't work

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,500
    Thanks
    13
    Thanked 1,572 Times in 1,501 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to extract .tar and lz4 file's in Qt 5 ?

    There is nothing in the Qt libraries for directly dealing with tar files or LZ4 compression. On the other hand, nothing in Qt stops you from linking libarchive and the C code reference LZ4 implementation (there are certainly other options) or using QProcess to run standalone utilities to handle the files.

  3. #3
    Join Date
    Jan 2019
    Posts
    4
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: how to extract .tar and lz4 file's in Qt 5 ?

    sir you can help me how to use libarchive for work with .tar file?

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,500
    Thanks
    13
    Thanked 1,572 Times in 1,501 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to extract .tar and lz4 file's in Qt 5 ?

    Quote Originally Posted by jocker.fantom View Post
    sir you can help me how to use libarchive for work with .tar file?
    https://github.com/libarchive/libarchive/wiki/Examples
    http://doc.qt.io/qt-5/qmake-project-...ther-libraries
    "We can't solve problems by using the same kind of thinking we used when we created them." -- Einstein
    If you are posting code then please use [code] [/code] tags around it - makes addressing the problem easier.

Similar Threads

  1. how to extract audio format from a sound file
    By cduffy in forum Qt Programming
    Replies: 3
    Last Post: 15th April 2013, 18:33
  2. Trying to extract a image from a bigger file
    By aguayro in forum Qt Programming
    Replies: 5
    Last Post: 15th January 2012, 01:16
  3. How to extract all images from a QT3 .ui file
    By kshahar in forum Qt Programming
    Replies: 0
    Last Post: 4th December 2008, 16:27
  4. How to extract and compress a cpio archive file in Qt
    By sarode in forum Qt Programming
    Replies: 13
    Last Post: 5th January 2008, 10:20
  5. How To Extract A File
    By deekayt in forum General Programming
    Replies: 7
    Last Post: 5th December 2006, 19:27

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.