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
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
12 # The name of your application
13 TARGET = harbour-pedalo
20 VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}-$${VERSION_BUILD}
22 DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR" \
23 "VERSION_MINOR=$$VERSION_MINOR" \
24 "VERSION_BUILD=$$VERSION_BUILD" \
25 "VERSION=\\\"$$VERSION\\\""
30 SOURCES += src/harbour-pedalo.cpp \
32 src/journeymodel.cpp \
35 src/imageprovider.cpp \
39 src/statsweekdayave.cpp \
40 src/statsweekdaycongestion.cpp
42 DISTFILES += qml/harbour-pedalo.qml \
43 qml/cover/CoverPage.qml \
44 rpm/harbour-pedalo.spec \
45 rpm/harbour-pedalo.yaml \
47 harbour-pedalo.desktop \
48 qml/pages/MainPage.qml \
50 qml/pages/JourneyList.qml \
52 qml/pages/DurationEditDialog.qml \
53 qml/components/InfoRow.qml \
54 qml/pages/JourneyEdit.qml \
55 qml/pages/JourneyInfo.qml \
56 qml/components/BarButton.qml \
57 qml/cover/ClockView.qml \
58 qml/cover/LargeItem.qml \
59 qml/pages/TheRules.qml \
60 rpm/harbour-pedalo.changes.run.in \
61 rpm/harbour-pedalo.changes
63 SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256
65 # to disable building translations every time, comment out the
66 # following CONFIG line
67 CONFIG += sailfishapp_i18n
69 # German translation is enabled as an example. If you aren't
70 # planning to localize your app, remember to comment out the
71 # following TRANSLATIONS line. And also do not forget to
72 # modify the localized app name in the the .desktop file.
73 TRANSLATIONS += translations/harbour-pedalo-de.ts
80 src/harbour-pedalo.h \
85 src/statsweekdayave.h \
86 src/statsweekdaycongestion.h