X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=harbour-pedalo.pro;h=ce9b2c766030fe05705bba3be76b2df0d99f936d;hp=cd82343fc2c89d5e71b39e50b314782286601154;hb=894f7a797bc7a11ac3e44769c98f7e56c80437d7;hpb=0108947ead4cc9e0ff23fee82db2fb1fd7cb2dad diff --git a/harbour-pedalo.pro b/harbour-pedalo.pro index cd82343..ce9b2c7 100644 --- a/harbour-pedalo.pro +++ b/harbour-pedalo.pro @@ -12,11 +12,27 @@ # The name of your application TARGET = harbour-pedalo -CONFIG += sailfishapp +VERSION_MAJOR = 0 +VERSION_MINOR = 1 +VERSION_BUILD = 1 + +#Target version +VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}-$${VERSION_BUILD} +DEFINES += "VERSION_MAJOR=$$VERSION_MAJOR" \ + "VERSION_MINOR=$$VERSION_MINOR" \ + "VERSION_BUILD=$$VERSION_BUILD" \ + "VERSION=\\\"$$VERSION\\\"" + +CONFIG += sailfishapp +PKGCONFIG += mlite5 +B SOURCES += src/harbour-pedalo.cpp \ src/journey.cpp \ - src/journeymodel.cpp + src/journeymodel.cpp \ + src/status.cpp \ + src/settings.cpp \ + src/imageprovider.cpp DISTFILES += qml/harbour-pedalo.qml \ qml/cover/CoverPage.qml \ @@ -27,13 +43,18 @@ DISTFILES += qml/harbour-pedalo.qml \ translations/*.ts \ harbour-pedalo.desktop \ qml/pages/MainPage.qml \ - qml/pages/AddJourney.qml \ qml/pages/Stats.qml \ qml/pages/JourneyList.qml \ qml/pages/About.qml \ - qml/components/InfoRow.qml + qml/pages/DurationEditDialog.qml \ + qml/components/InfoRow.qml \ + qml/pages/JourneyEdit.qml \ + qml/pages/JourneyInfo.qml \ + qml/components/BarButton.qml \ + qml/cover/ClockView.qml \ + qml/cover/LargeItem.qml -SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 +SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256 # to disable building translations every time, comment out the # following CONFIG line @@ -47,4 +68,8 @@ TRANSLATIONS += translations/harbour-pedalo-de.ts HEADERS += \ src/journey.h \ - src/journeymodel.h + src/journeymodel.h \ + src/status.h \ + src/settings.h \ + src/harbour-pedalo.h \ + src/imageprovider.h