diff --git a/src/librssguard/librssguard.pro b/src/librssguard/librssguard.pro index 3be04e02d..7c2455843 100644 --- a/src/librssguard/librssguard.pro +++ b/src/librssguard/librssguard.pro @@ -511,8 +511,8 @@ QMAKE_EXTRA_TARGETS += lupdate # Make sure QM translations are nerated. qtPrepareTool(LRELEASE, lrelease) { - message($$MSG_PREFIX: Running: \"$$LRELEASE\" -compress librssguard.pro) - system($$LRELEASE -compress librssguard.pro) + message($$MSG_PREFIX: Running: \"$$LRELEASE\" -compress $$shell_quote($$shell_path($$PWD/librssguard.pro))) + system($$LRELEASE -compress $$shell_quote($$shell_path($$PWD/librssguard.pro))) } mac { diff --git a/src/librssguard/services/standard/standardfeed.cpp b/src/librssguard/services/standard/standardfeed.cpp index 299d1f636..d35280dad 100644 --- a/src/librssguard/services/standard/standardfeed.cpp +++ b/src/librssguard/services/standard/standardfeed.cpp @@ -659,7 +659,12 @@ QList StandardFeed::obtainNewMessages(bool* error_during_obtaining) { } QStringList StandardFeed::prepareExecutionLine(const QString& execution_line) { - auto split_exec = execution_line.split('#', Qt::SplitBehaviorFlags::SkipEmptyParts); + auto split_exec = execution_line.split('#', +#if QT_VERSION >= 0x050F00 // Qt >= 5.15.0 + Qt::SplitBehaviorFlags::SkipEmptyParts); +#else + QString::SplitBehavior::SkipEmptyParts); +#endif auto user_data_folder = qApp->userDataFolder(); return split_exec.replaceInStrings(EXECUTION_LINE_USER_DATA_PLACEHOLDER, user_data_folder);