Skip to content

HadesD/QtLibArchive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Port of LibArchive for Qt application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published