Merge branch 'master' of https://vcs.maemo.org/git/speedfreak
[speedfreak] / Client / UI.pro
index e40f47c..b036ad2 100644 (file)
@@ -24,7 +24,11 @@ SOURCES += main.cpp \
     httpclient.cpp \
     categorylist.cpp \
     welcomedialog.cpp \
-    routedialog.cpp
+    gpsdata.cpp \
+    maemo5locationprivate.cpp \
+    maemo5location.cpp \
+    routedialog.cpp \
+    movingaverage.cpp
 HEADERS += carmainwindow.h \
     resultdialog.h \
     stringlistmodel.h \
@@ -39,7 +43,11 @@ HEADERS += carmainwindow.h \
     httpclient.h \
     categorylist.h \
     welcomedialog.h \
-    routedialog.h
+    gpsdata.h \
+    maemo5locationprivate.h \
+    maemo5location.h \
+    routedialog.h \
+    movingaverage.h
 FORMS += carmainwindow.ui \
     resultdialog.ui \
     measuredialog.ui \
@@ -47,3 +55,20 @@ FORMS += carmainwindow.ui \
     registration.ui \
     welcomedialog.ui \
     routedialog.ui
+
+contains(QT_CONFIG, hildon):CONFIG += hildon
+CONFIG += link_pkgconfig
+
+# Enable this to disable debugging
+# DEFINES += QT_NO_DEBUG_OUTPUT
+target.path += /usr/lib
+devincludes.files = $$HEADERS
+devincludes.path += /usr/include/$$TEMPLATE$$TARGET
+INSTALLS += target \
+    devincludes
+PKGCONFIG += glib-2.0 \
+    liblocation
+exists(/usr/lib/liblocation.so) {
+    DEFINES += LIBLOCATION
+    message(liblocation found)
+}