mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Add use_unarr define macro to prevent checks for 7z on unarr enabled builds
This commit is contained in:
@ -122,8 +122,8 @@ void LibraryCreator::processLibrary(const QString & source, const QString & targ
|
||||
void LibraryCreator::run()
|
||||
{
|
||||
stopRunning = false;
|
||||
|
||||
//check for 7z lib
|
||||
#ifndef use_unarr
|
||||
//check for 7z lib
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
QLibrary *sevenzLib = new QLibrary(QString(LIBDIR)+"/p7zip/7z.so");
|
||||
#else
|
||||
@ -137,7 +137,7 @@ void LibraryCreator::run()
|
||||
exit();
|
||||
}
|
||||
sevenzLib->deleteLater();
|
||||
|
||||
#endif
|
||||
if(_mode == CREATOR)
|
||||
{
|
||||
QLOG_INFO() << "Starting to create new library ( " << _source << "," << _target << ")";
|
||||
|
Reference in New Issue
Block a user