Add gitignore to ignore resources and generated folders
[harbour-pedalo.git] / harbour-pedalo.pro
index cd82343..9033b75 100644 (file)
 # 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,11 +43,13 @@ 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
 
 SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
 
@@ -47,4 +65,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