mirror of
https://github.com/YACReader/yacreader
synced 2025-07-21 14:34:42 -04:00
fixed 7z lib path
This commit is contained in:
@ -117,7 +117,7 @@ bool CompressedArchive::loadFunctions()
|
||||
// fix1: try to load "7z.so"
|
||||
// fix2: rename 7z.so to 7z.dylib
|
||||
if(sevenzLib == 0)
|
||||
sevenzLib = new QLibrary("./utils/7z");
|
||||
sevenzLib = new QLibrary(QApplication::applicationDirPath()+"/utils/7z");
|
||||
if(!sevenzLib->load())
|
||||
{
|
||||
qDebug() << "Loading 7z.dll : " + sevenzLib->errorString() << endl;
|
||||
|
Reference in New Issue
Block a user