This repository has been archived by the owner on Jun 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathharbour-tasklist.pro
62 lines (51 loc) · 1.9 KB
/
harbour-tasklist.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# The name of your app.
# NOTICE: name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, following needs to be
# done to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
TARGET = harbour-tasklist
CONFIG += sailfishapp c++11
QT += dbus
SOURCES += src/harbour-tasklist.cpp \
src/tasksexport.cpp
OTHER_FILES += qml/harbour-tasklist.qml \
qml/pages/CoverPage.qml \
rpm/harbour-tasklist.yaml \
harbour-tasklist.desktop \
qml/localdb.js \
qml/pages/AboutPage.qml \
qml/pages/EditPage.qml \
qml/pages/TaskPage.qml \
qml/pages/ListPage.qml \
qml/pages/SettingsPage.qml \
qml/pages/TaskListItem.qml \
qml/pages/ExportPage.qml \
qml/pages/TagPage.qml \
qml/pages/TagDialog.qml \
qml/pages/sync/DropboxAuth.qml \
qml/pages/sync/DropboxSync.qml \
qml/pages/HelpPage.qml
include(third_party/QtDropbox/qtdropbox.pri)
!defined(TASKLIST_DROPBOX_APPKEY, var) {
error("Please provide Dropbox appkey as argument of qmake, e.g. 'qmake TASKLIST_DROPBOX_APPKEY=<your appkey here>'")
}
!defined(TASKLIST_DROPBOX_SHAREDSECRET, var) {
error("Please provide Dropbox shared secret as argument of qmake, e.g. 'qmake TASKLIST_DROPBOX_SHAREDSECRET=<your secret here>'")
}
DEFINES += TASKLIST_DROPBOX_APPKEY=$$TASKLIST_DROPBOX_APPKEY TASKLIST_DROPBOX_SHAREDSECRET=$$TASKLIST_DROPBOX_SHAREDSECRET
localization.files = localization
localization.path = /usr/share/$${TARGET}
INSTALLS += localization
CONFIG += sailfishapp_i18n_idbased
lupdate_only {
SOURCES = qml/*.qml \
qml/*.js \
qml/pages/*.qml \
qml/pages/sync/*.qml
TRANSLATIONS = localization-sources/*.ts
}
HEADERS += \
src/tasksexport.h