Measurement resetting added in carmainwindow.cpp.
[speedfreak] / Client / UI.pro
index 763244b..d11e0d4 100644 (file)
@@ -5,6 +5,7 @@
 # @license    http://opensource.org/licenses/gpl-license.php GNU Public License
 # -------------------------------------------------
 QT += network \
+    dbus \
     xml
 TARGET = UI
 TEMPLATE = app
@@ -20,7 +21,13 @@ SOURCES += main.cpp \
     measures.cpp \
     xmlwriter.cpp \
     xmlreader.cpp \
-    httpclient.cpp
+    httpclient.cpp \
+    categorylist.cpp \
+    welcomedialog.cpp \
+    gpsdata.cpp \
+    maemo5locationprivate.cpp \
+    maemo5location.cpp \
+    routedialog.cpp
 HEADERS += carmainwindow.h \
     resultdialog.h \
     stringlistmodel.h \
@@ -32,9 +39,34 @@ HEADERS += carmainwindow.h \
     measures.h \
     xmlwriter.h \
     xmlreader.h \
-    httpclient.h
+    httpclient.h \
+    categorylist.h \
+    welcomedialog.h \
+    gpsdata.h \
+    maemo5locationprivate.h \
+    maemo5location.h \
+    routedialog.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)
+}