Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
KArchive/KArchive
✓ #include <KArchive/KArchive>
Open and read a compressed tar archive
#include <KArchive/KTar.h>
#include <QCoreApplication>
int main(int argc, char** argv) {
QCoreApplication app(argc, argv);
KTar tar("archive.tar.gz", "application/x-gzip");
if (tar.open(QIODevice::ReadOnly)) {
const KArchiveDirectory* dir = tar.directory();
// List entries...
tar.close();
}
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.