46 lines
1.3 KiB
Prolog
46 lines
1.3 KiB
Prolog
TEMPLATE = app
|
|
TARGET = harbour-quill
|
|
|
|
CONFIG += sailfishapp qt
|
|
|
|
# QQuickView (QtQuick), QQmlContext (QtQml), QSettings (QtCore).
|
|
QT += quick qml
|
|
|
|
SOURCES += \
|
|
src/main.cpp \
|
|
src/settings.cpp \
|
|
src/downloader.cpp
|
|
|
|
HEADERS += \
|
|
src/settings.h \
|
|
src/downloader.h
|
|
|
|
DISTFILES += \
|
|
qml/harbour-quill.qml \
|
|
qml/cover/CoverPage.qml \
|
|
qml/pages/MainPage.qml \
|
|
qml/pages/EditorPage.qml \
|
|
qml/pages/PreviewPage.qml \
|
|
qml/pages/SettingsPage.qml \
|
|
qml/pages/NewNoteDialog.qml \
|
|
qml/components/DavClient.qml \
|
|
qml/components/Banner.qml \
|
|
qml/components/Markdown.js \
|
|
qml/components/PropfindParser.js \
|
|
translations/harbour-quill_it.ts
|
|
|
|
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
|
|
|
|
# Translations are NOT handled by the sailfishapp_i18n template on the 5.1 kit
|
|
# (the .qm is never generated/installed reliably). The spec builds the .qm
|
|
# with lrelease and installs it into /usr/share/translations directly;
|
|
# libsailfishapp loads harbour-quill_<locale>.qm automatically.
|
|
|
|
# The sailfishapp template does NOT install the .desktop by itself on the
|
|
# 5.1 kit — declare it explicitly or rpmbuild fails with
|
|
# "File not found: .../usr/share/applications/harbour-quill.desktop".
|
|
desktop.files = $$PWD/rpm/harbour-quill.desktop
|
|
desktop.path = /usr/share/applications
|
|
|
|
INSTALLS += desktop
|