Merge branch 'master' of https://vcs.maemo.org/git/speedfreak
[speedfreak] / Client / UI.pro
index ef6e351..b036ad2 100644 (file)
@@ -22,7 +22,13 @@ SOURCES += main.cpp \
     xmlwriter.cpp \
     xmlreader.cpp \
     httpclient.cpp \
-    categorylist.cpp
+    categorylist.cpp \
+    welcomedialog.cpp \
+    gpsdata.cpp \
+    maemo5locationprivate.cpp \
+    maemo5location.cpp \
+    routedialog.cpp \
+    movingaverage.cpp
 HEADERS += carmainwindow.h \
     resultdialog.h \
     stringlistmodel.h \
@@ -35,9 +41,34 @@ HEADERS += carmainwindow.h \
     xmlwriter.h \
     xmlreader.h \
     httpclient.h \
-    categorylist.h
+    categorylist.h \
+    welcomedialog.h \
+    gpsdata.h \
+    maemo5locationprivate.h \
+    maemo5location.h \
+    routedialog.h \
+    movingaverage.h
 FORMS += carmainwindow.ui \
     resultdialog.ui \
     measuredialog.ui \
     loginwindow.ui \
-    registration.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)
+}