sladage / QtLZMA

LZMA library for Qt.
GNU Lesser General Public License v3.0
20 stars 8 forks source link

How to use this library? #2

Open bryant24 opened 5 years ago

bryant24 commented 5 years ago

I hava a qt app,want to use this lib for lzma2 compress. Do I need build the qtlzma first,compile it to a .so file?the example include "QtLZMA/qlzma.h",where this file from? thx!

sladage commented 5 years ago

Are you using Linux? I updated the readme and qmake file to make building more easy.

bryant24 commented 5 years ago

Actually I use windows ^^ Last night I use this lib on mac,compress and decompress file is all ok,but I cannot use xz command to decompress the compressed file,xz command line always return "format not valid", it's not compatible with xz?

sladage commented 5 years ago

xz is a container format, lzma is just the compression. To produce files compatible with xz you must add the appropriate headers.