-
Notifications
You must be signed in to change notification settings - Fork 25
Compiling
Antony jr edited this page Dec 14, 2017
·
3 revisions
Adding the HEADERS and LIBS will make QMake compile your program with QArchive , you need
to have libarchive too.
In your project file
LIBS += -larchive
HEADERS += /path/to/QArchive/QArchive.hpp
Include the QArchive in the source files which you need to use libarchive.
#include "/path/to/QArchive/QArchive.hpp"
Look into the examples in the examples tree on how this is done using qmake! -> Extractor Example
BSD 3-Clause License
Copyright (C) 2017 , antony-jr
All Rights Reserved.