2012-08-02 09:17:53 -04:00
|
|
|
!include("../Common/retroshare_plugin.pri"): error("Could not include file ../Common/retroshare_plugin.pri")
|
|
|
|
|
|
|
|
CONFIG += qt uic qrc resources
|
|
|
|
|
2013-10-19 20:56:34 -04:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
# Qt 5
|
|
|
|
QT += widgets
|
|
|
|
}
|
|
|
|
|
2012-08-02 09:17:53 -04:00
|
|
|
SOURCES = FeedReaderPlugin.cpp \
|
|
|
|
services/p3FeedReader.cc \
|
|
|
|
services/p3FeedReaderThread.cc \
|
|
|
|
services/rsFeedReaderItems.cc \
|
|
|
|
gui/FeedReaderDialog.cpp \
|
2012-12-25 18:53:55 -05:00
|
|
|
gui/FeedReaderMessageWidget.cpp \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/AddFeedDialog.cpp \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/PreviewFeedDialog.cpp \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/FeedReaderNotify.cpp \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/FeedReaderConfig.cpp \
|
|
|
|
gui/FeedReaderStringDefs.cpp \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedNotify.cpp \
|
2012-12-20 08:30:16 -05:00
|
|
|
gui/FeedReaderUserNotify.cpp \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedItem.cpp \
|
2012-08-13 17:35:11 -04:00
|
|
|
util/CURLWrapper.cpp \
|
|
|
|
util/XMLWrapper.cpp \
|
2012-09-04 19:53:04 -04:00
|
|
|
util/HTMLWrapper.cpp \
|
|
|
|
util/XPathWrapper.cpp
|
2012-08-02 09:17:53 -04:00
|
|
|
|
|
|
|
HEADERS = FeedReaderPlugin.h \
|
|
|
|
interface/rsFeedReader.h \
|
|
|
|
services/p3FeedReader.h \
|
|
|
|
services/p3FeedReaderThread.h \
|
|
|
|
services/rsFeedReaderItems.h \
|
|
|
|
gui/FeedReaderDialog.h \
|
2012-12-25 18:53:55 -05:00
|
|
|
gui/FeedReaderMessageWidget.h \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/AddFeedDialog.h \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/PreviewFeedDialog.h \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/FeedReaderNotify.h \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/FeedReaderConfig.h \
|
|
|
|
gui/FeedReaderStringDefs.h \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedNotify.h \
|
2012-12-20 08:30:16 -05:00
|
|
|
gui/FeedReaderUserNotify.h \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderFeedItem.h \
|
2012-08-13 17:35:11 -04:00
|
|
|
util/CURLWrapper.h \
|
|
|
|
util/XMLWrapper.h \
|
2012-09-04 19:53:04 -04:00
|
|
|
util/HTMLWrapper.h \
|
|
|
|
util/XPathWrapper.h
|
2012-08-02 09:17:53 -04:00
|
|
|
|
|
|
|
FORMS = gui/FeedReaderDialog.ui \
|
2012-12-25 18:53:55 -05:00
|
|
|
gui/FeedReaderMessageWidget.ui \
|
2012-08-02 09:17:53 -04:00
|
|
|
gui/AddFeedDialog.ui \
|
2012-08-13 17:35:11 -04:00
|
|
|
gui/PreviewFeedDialog.ui \
|
2013-01-08 17:07:52 -05:00
|
|
|
gui/FeedReaderConfig.ui \
|
|
|
|
gui/FeedReaderFeedItem.ui
|
2012-08-02 09:17:53 -04:00
|
|
|
|
|
|
|
TARGET = FeedReader
|
|
|
|
|
|
|
|
RESOURCES = gui/FeedReader_images.qrc \
|
2015-06-28 06:11:47 -04:00
|
|
|
lang/FeedReader_lang.qrc \
|
|
|
|
qss/FeedReader_qss.qrc
|
|
|
|
|
2012-12-20 13:36:58 -05:00
|
|
|
TRANSLATIONS += \
|
2013-12-13 10:08:36 -05:00
|
|
|
lang/FeedReader_ca_ES.ts \
|
2012-12-20 13:36:58 -05:00
|
|
|
lang/FeedReader_cs.ts \
|
|
|
|
lang/FeedReader_da.ts \
|
|
|
|
lang/FeedReader_de.ts \
|
2013-06-04 19:39:07 -04:00
|
|
|
lang/FeedReader_el.ts \
|
2012-12-20 13:36:58 -05:00
|
|
|
lang/FeedReader_en.ts \
|
|
|
|
lang/FeedReader_es.ts \
|
|
|
|
lang/FeedReader_fi.ts \
|
|
|
|
lang/FeedReader_fr.ts \
|
|
|
|
lang/FeedReader_hu.ts \
|
|
|
|
lang/FeedReader_it.ts \
|
|
|
|
lang/FeedReader_ja_JP.ts \
|
|
|
|
lang/FeedReader_ko.ts \
|
2013-06-04 19:39:07 -04:00
|
|
|
lang/FeedReader_nl.ts \
|
2012-12-20 13:36:58 -05:00
|
|
|
lang/FeedReader_pl.ts \
|
|
|
|
lang/FeedReader_ru.ts \
|
|
|
|
lang/FeedReader_sv.ts \
|
|
|
|
lang/FeedReader_tr.ts \
|
|
|
|
lang/FeedReader_zh_CN.ts
|
2012-08-02 09:17:53 -04:00
|
|
|
|
2012-08-03 21:15:40 -04:00
|
|
|
linux-* {
|
|
|
|
LIBXML2_DIR = /usr/include/libxml2
|
|
|
|
|
2015-01-12 18:14:35 -05:00
|
|
|
DEPENDPATH += $${LIBXML2_DIR}
|
2012-08-03 21:15:40 -04:00
|
|
|
INCLUDEPATH += $${LIBXML2_DIR}
|
|
|
|
|
2013-01-21 19:11:43 -05:00
|
|
|
LIBS += -lcurl -lxml2 -lxslt
|
2012-08-03 21:15:40 -04:00
|
|
|
}
|
|
|
|
|
2012-08-02 09:17:53 -04:00
|
|
|
win32 {
|
2013-01-21 19:11:43 -05:00
|
|
|
DEFINES += CURL_STATICLIB LIBXML_STATIC LIBXSLT_STATIC LIBEXSLT_STATIC
|
2012-08-02 09:17:53 -04:00
|
|
|
|
2014-02-12 17:03:20 -05:00
|
|
|
# Change order of the libraries
|
|
|
|
LIBS = -lcurl -lxml2 -lz -lxslt -lws2_32 -lwldap32 -lssl -lcrypto -lgdi32 -lwsock32 $${LIBS}
|
2012-08-02 09:17:53 -04:00
|
|
|
}
|
2013-08-25 17:06:29 -04:00
|
|
|
|
|
|
|
openbsd-* {
|
|
|
|
LIBXML2_DIR = /usr/local/include/libxml2
|
|
|
|
|
|
|
|
INCLUDEPATH += $${LIBXML2_DIR}
|
|
|
|
|
|
|
|
LIBS += -lcurl -lxml2 -lxslt
|
|
|
|
}
|
|
|
|
|