Results 1 to 2 of 2

Thread: qCompress a directory?

  1. #1
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default qCompress a directory?

    Hi,

    How can I use qCompress to compress a whole directory?

    Thanks,
    Carlos.

  2. #2
    Join Date
    Nov 2010
    Posts
    82
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qCompress a directory?

    i suppose you want all the files to one file like a zip or tar
    you will need to compress every file and for each file remember the begining of the data in the archive and their path
    so that when you want to uncompress you can display what is the content and where to find the file.
    you can write this header to the end of the archive it is simplier

Similar Threads

  1. Replies: 2
    Last Post: 20th January 2011, 07:09
  2. Directory View
    By kamlmish in forum Newbie
    Replies: 1
    Last Post: 22nd December 2010, 10:04
  3. get .pro directory
    By Alnitak in forum Qt Programming
    Replies: 5
    Last Post: 14th October 2010, 18:43
  4. Specify the DLL directory
    By Nyphel in forum Newbie
    Replies: 6
    Last Post: 27th April 2007, 14:29
  5. Size of the directory
    By npc in forum Qt Programming
    Replies: 3
    Last Post: 27th December 2006, 07:05

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.