Open mgkirs opened 7 years ago
do you have KArchive installed?
I just added qpm support.
try downloading qpm from https://www.qpm.io/ and run qpm install in the epubreader folder before trying to build.
I haven't qpm.json
I'm don't know haw install KArchive as QT Module and use:
INCLUDEPATH = karchive-master/src/
into .pro file (I'm using QT Creator)
I'm include header as that:
in epubcontainer.cpp
if you git pull you should get the qpm.json and it should work automagically.
but did you get it to work?
I'm install karchive:
Ks-iMac:epubreader-master-3 k$ sudo qpm install Password: Installing org.kde.karchive@5.33.0-1 Ks-iMac:epubreader-master-3 k$
But QT Creator write:
Project ERROR: Unknown module(s) in QT: KArchive
My QT Creator installed to /Users/k/Qt
Undefined symbols for architecture x86_64: "KZip::KZip(QString const&)", referenced from: EPubContainer::openFile(QString) in epubcontainer.o "KArchiveEntry::name() const", referenced from: EPubContainer::getFile(QString const&) in epubcontainer.o "KArchiveDirectory::file(QString const&) const", referenced from: EPubContainer::parseMimetype() in epubcontainer.o EPubContainer::getFile(QString const&) in epubcontainer.o "KArchiveDirectory::entry(QString const&) const", referenced from: EPubContainer::getFile(QString const&) in epubcontainer.o "KArchive::directory() const", referenced from: EPubContainer::openFile(QString) in epubcontainer.o "typeinfo for KArchiveEntry", referenced from: EPubContainer::getFile(QString const&) in epubcontainer.o "typeinfo for KArchiveDirectory", referenced from: EPubContainer::getFile(QString const&) in epubcontainer.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [test.app/Contents/MacOS/test] Error 1 09:17:20: The process "/us