FeedTheMonkey/FeedTheMonkey.pro
Jeena b87e224781 Use qtquickcompiler
It might not do a lot in this project but it's easy to add and
in theory it makes the app start a tiny bit faster, although
my tests didn't show any visible improvements, I guess it's
because there are not enough QML files to parse at startup.
2016-07-27 06:12:22 +02:00

66 lines
1.3 KiB
Prolog

requires(contains(QT_CONFIG, accessibility))
qtHaveModule(widgets) {
QT += widgets # QApplication is required to get native styling with QtQuickControls
}
TARGET = feedthemonkey
TEMPLATE = app
QT += qml quick webenginewidgets webengine
CONFIG += c++11
CONFIG += qtquickcompiler
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