build fix
This commit is contained in:
parent
f460ad667c
commit
446965cae8
@ -106,6 +106,22 @@ if(QT_VERSION_MAJOR EQUAL 6)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ZLIB_FOUND)
|
||||
target_include_directories(rssguard-standard AFTER
|
||||
PRIVATE
|
||||
${ZLIB_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_compile_definitions(rssguard-standard
|
||||
PRIVATE
|
||||
ENABLE_COMPRESSED_SITEMAP
|
||||
)
|
||||
|
||||
target_link_libraries(rssguard-standard PRIVATE
|
||||
${ZLIB_LIBRARIES}
|
||||
)
|
||||
endif(ZLIB_FOUND)
|
||||
|
||||
if(WIN32 OR OS2)
|
||||
install(TARGETS rssguard-standard DESTINATION plugins)
|
||||
elseif(UNIX AND NOT APPLE AND NOT ANDROID)
|
||||
|
@ -3,15 +3,15 @@
|
||||
#include "src/parsers/sitemapparser.h"
|
||||
|
||||
#if defined(ENABLE_COMPRESSED_SITEMAP)
|
||||
#include <librssguard/3rd-party/qcompressor/qcompressor.h>
|
||||
#include "src/3rd-party/qcompressor/qcompressor.h"
|
||||
#endif
|
||||
|
||||
#include "src/definitions.h"
|
||||
#include <librssguard/definitions/definitions.h>
|
||||
#include <librssguard/exceptions/applicationexception.h>
|
||||
#include <librssguard/exceptions/feedrecognizedbutfailedexception.h>
|
||||
#include <librssguard/miscellaneous/settings.h>
|
||||
#include <librssguard/miscellaneous/textfactory.h>
|
||||
#include "src/definitions.h"
|
||||
|
||||
#include <QDomDocument>
|
||||
#include <QTextCodec>
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
#include "src/standardfeed.h"
|
||||
|
||||
#include "src/gui/formstandardfeeddetails.h"
|
||||
#include "src/standardserviceroot.h"
|
||||
#include <librssguard/database/databasequeries.h>
|
||||
#include <librssguard/definitions/definitions.h>
|
||||
#include <librssguard/exceptions/applicationexception.h>
|
||||
@ -10,8 +12,6 @@
|
||||
#include <librssguard/exceptions/scriptexception.h>
|
||||
#include <librssguard/miscellaneous/settings.h>
|
||||
#include <librssguard/miscellaneous/textfactory.h>
|
||||
#include "src/gui/formstandardfeeddetails.h"
|
||||
#include "src/standardserviceroot.h"
|
||||
|
||||
#if defined(NO_LITE)
|
||||
#include <librssguard/gui/webviewers/webengine/webengineviewer.h>
|
||||
@ -26,7 +26,7 @@
|
||||
#include "src/parsers/sitemapparser.h"
|
||||
|
||||
#if defined(ENABLE_COMPRESSED_SITEMAP)
|
||||
#include <librssguard/3rd-party/qcompressor/qcompressor.h>
|
||||
#include "src/3rd-party/qcompressor/qcompressor.h"
|
||||
#endif
|
||||
|
||||
#include <QCommandLineParser>
|
||||
|
@ -10,9 +10,7 @@
|
||||
|
||||
StandardServiceEntryPoint::StandardServiceEntryPoint(QObject* parent) : QObject(parent) {}
|
||||
|
||||
StandardServiceEntryPoint::~StandardServiceEntryPoint() {
|
||||
qDebugNN << LOGSEC_CORE << "Destructing plugin.";
|
||||
}
|
||||
StandardServiceEntryPoint::~StandardServiceEntryPoint() {}
|
||||
|
||||
QString StandardServiceEntryPoint::name() const {
|
||||
return QSL("RSS/RDF/ATOM/JSON");
|
||||
|
@ -37,7 +37,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(ENABLE_COMPRESSED_SITEMAP)
|
||||
#include <librssguard/3rd-party/qcompressor/qcompressor.h>
|
||||
#include "src/3rd-party/qcompressor/qcompressor.h"
|
||||
#endif
|
||||
|
||||
#include <QAction>
|
||||
|
@ -711,23 +711,6 @@ if(SQLite3_FOUND)
|
||||
)
|
||||
endif()
|
||||
|
||||
if(ZLIB_FOUND)
|
||||
target_include_directories(rssguard AFTER
|
||||
PRIVATE
|
||||
${ZLIB_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
target_compile_definitions(rssguard
|
||||
PRIVATE
|
||||
|
||||
ENABLE_COMPRESSED_SITEMAP
|
||||
)
|
||||
|
||||
target_link_libraries(rssguard PRIVATE
|
||||
${ZLIB_LIBRARIES}
|
||||
)
|
||||
endif(ZLIB_FOUND)
|
||||
|
||||
# Qt.
|
||||
target_link_libraries(rssguard PUBLIC
|
||||
Qt${QT_VERSION_MAJOR}::Core
|
||||
|
@ -60,8 +60,9 @@ QStringList PluginFactory::pluginPaths() const {
|
||||
#if defined(Q_OS_LINUX)
|
||||
paths << QCoreApplication::applicationDirPath() + QDir::separator() + QL1S("..") + QDir::separator() + QL1S("lib") +
|
||||
QDir::separator() + QL1S(APP_LOW_NAME);
|
||||
#else
|
||||
#elif defined(Q_OS_WIN)
|
||||
paths << QCoreApplication::applicationDirPath() + QDir::separator() + QL1S("plugins");
|
||||
#else
|
||||
paths << QCoreApplication::applicationDirPath();
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user