Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.09 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.09 KB

Welcome to QArchive library

The QtLibArchive project is port of libarchive for Qt Applications.

It can help you extract/compress almost of archive file type.

Features

  • Portable
  • Backward-compatible
  • Lightweight (~300KB static build)
  • Single/Multi - Thread support
  • Hard Disk Extract/Compress support

Requirements

  • Qt >= 5.6.2
  • LibArchive binary (static/shared build)

Examples

Fast extract

// Create multi-thread hard disk extractor
auto extractor = new QArchive::DiskExtractor(this);
extractor->setArchiveFileName(fileName);
extractor->setOutputPath(QDir::currentPath());
extractor->setPassword("ThisIsExtractPassword");
extractor->start();

Signals

void QArchive::DisExtractor::started();
void QArchive::DisExtractor::progress(const QString& fileName, const std::size_t current, const std::size_t total);
void QArchive::DisExtractor::error(const StatusCode code, const QString& fileName);
void QArchive::DisExtractor::finished();

LICENSE

MIT License