ce9b2c766030fe05705bba3be76b2df0d99f936d
[harbour-pedalo.git] / harbour-pedalo.pro
1 # NOTICE:
2 #
3 # Application name defined in TARGET has a corresponding QML filename.
4 # If name defined in TARGET is changed, the following needs to be done
5 # to match new name:
6 #   - corresponding QML filename must be changed
7 #   - desktop icon filename must be changed
8 #   - desktop filename must be changed
9 #   - icon definition filename in desktop file must be changed
10 #   - translation filenames have to be changed
11
12 # The name of your application
13 TARGET = harbour-pedalo
14
15 VERSION_MAJOR = 0
16 VERSION_MINOR = 1
17 VERSION_BUILD = 1
18
19 #Target version
20 VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}-$${VERSION_BUILD}
21
22 DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR" \
23     "VERSION_MINOR=$$VERSION_MINOR" \
24     "VERSION_BUILD=$$VERSION_BUILD" \
25     "VERSION=\\\"$$VERSION\\\""
26
27 CONFIG += sailfishapp
28 PKGCONFIG += mlite5
29 B
30 SOURCES += src/harbour-pedalo.cpp \
31     src/journey.cpp \
32     src/journeymodel.cpp \
33     src/status.cpp \
34     src/settings.cpp \
35     src/imageprovider.cpp
36
37 DISTFILES += qml/harbour-pedalo.qml \
38     qml/cover/CoverPage.qml \
39     rpm/harbour-pedalo.changes.in \
40     rpm/harbour-pedalo.changes.run.in \
41     rpm/harbour-pedalo.spec \
42     rpm/harbour-pedalo.yaml \
43     translations/*.ts \
44     harbour-pedalo.desktop \
45     qml/pages/MainPage.qml \
46     qml/pages/Stats.qml \
47     qml/pages/JourneyList.qml \
48     qml/pages/About.qml \
49     qml/pages/DurationEditDialog.qml \
50     qml/components/InfoRow.qml \
51     qml/pages/JourneyEdit.qml \
52     qml/pages/JourneyInfo.qml \
53     qml/components/BarButton.qml \
54     qml/cover/ClockView.qml \
55     qml/cover/LargeItem.qml
56
57 SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256
58
59 # to disable building translations every time, comment out the
60 # following CONFIG line
61 CONFIG += sailfishapp_i18n
62
63 # German translation is enabled as an example. If you aren't
64 # planning to localize your app, remember to comment out the
65 # following TRANSLATIONS line. And also do not forget to
66 # modify the localized app name in the the .desktop file.
67 TRANSLATIONS += translations/harbour-pedalo-de.ts
68
69 HEADERS += \
70     src/journey.h \
71     src/journeymodel.h \
72     src/status.h \
73     src/settings.h \
74     src/harbour-pedalo.h \
75     src/imageprovider.h