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