Changed the old code to work as a daemon
[googlelatitude] / googlelatitude.pro
index 8eb75e0..d97061d 100644 (file)
@@ -1,16 +1,8 @@
-TARGET      = googlelatitude
-HEADERS    += src/latitude.h src/glatitude.h src/gps.h
-SOURCES    += src/main.cpp src/latitude.cpp src/glatitude.cpp src/gps.cpp
-
-OBJECTS_DIR = build
-MOC_DIR     = build
-DESTDIR     = build
-
-TEMPLATE    = app
-QT         += network webkit
-
-contains(QT_CONFIG, maemo5) {
-    QT          += maemo5
-    CONFIG      += link_pkgconfig
-    PKGCONFIG   += glib-2.0 liblocation
+QMAKEVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(QMAKEVERSION, ^[2-9])
+isEmpty( ISQT4 ) {
+error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
 }
+
+TEMPLATE = subdirs
+SUBDIRS  = src