59 lines
1.1 KiB
Prolog
59 lines
1.1 KiB
Prolog
TARGET = feedthemonkey
|
|
|
|
TEMPLATE = app
|
|
QT += qml quick webenginewidgets
|
|
CONFIG += c++11
|
|
|
|
SOURCES += \
|
|
src/main.cpp \
|
|
src/post.cpp \
|
|
src/tinytinyrss.cpp \
|
|
src/tinytinyrsslogin.cpp
|
|
|
|
RESOURCES += \
|
|
html/html.qrc \
|
|
qml/qml.qrc \
|
|
|
|
mac {
|
|
RC_FILE = misc/Icon.icns
|
|
TARGET = FeedTheMonkey
|
|
}
|
|
|
|
unix {
|
|
isEmpty(PREFIX) {
|
|
PREFIX = /usr/local
|
|
}
|
|
|
|
target.path = $$PREFIX/bin
|
|
|
|
shortcutfiles.files = misc/feedthemonkey.desktop
|
|
shortcutfiles.path = $$PREFIX/share/applications/
|
|
data.files += misc/feedthemonkey.xpm
|
|
data.path = $$PREFIX/share/pixmaps/
|
|
|
|
INSTALLS += shortcutfiles
|
|
INSTALLS += data
|
|
}
|
|
|
|
INSTALLS += target
|
|
|
|
|
|
# Needed for bringing browser from background to foreground using QDesktopServices: http://bugreports.qt-project.org/browse/QTBUG-8336
|
|
TARGET.CAPABILITY += SwEvent
|
|
|
|
# Additional import path used to resolve QML modules in Qt Creator's code model
|
|
QML_IMPORT_PATH =
|
|
|
|
OTHER_FILES +=
|
|
|
|
HEADERS += \
|
|
src/post.h \
|
|
src/tinytinyrss.h \
|
|
src/tinytinyrsslogin.h
|
|
|
|
DISTFILES += \
|
|
misc/feedthemonkey.desktop \
|
|
misc/feedthemonkey.xpm \
|
|
misc/Icon.icns \
|
|
README.md \
|
|
LICENSE.txt
|