Results 1 to 5 of 5

Thread: Compress and Uncompress large files in QTcpSocket

  1. #1
    Join Date
    Jan 2007
    Location
    Chennai, India
    Posts
    25
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Compress and Uncompress large files in QTcpSocket

    How to compress and uncompress large files in QTcpSocket?

  2. #2
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Compress and Uncompress large files in QTcpSocket

    Well, Qt has no tools to achieve this...you can easily use Zlib through your application, I even think a C++ wrapper exists !

    Guilugi.

  3. #3
    Join Date
    Jan 2007
    Location
    Chennai, India
    Posts
    25
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Compress and Uncompress large files in QTcpSocket

    how to use zlib in Qt ?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Compress and Uncompress large files in QTcpSocket

    You can try qCompress() and qUncompress().

  5. #5
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Compress and Uncompress large files in QTcpSocket

    Damn, I didn't even know about that !!

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.