Changed the old code to work as a daemon
[googlelatitude] / src / src.pro
index 53ac347..69564ca 100644 (file)
@@ -1,40 +1,8 @@
-QT += network
-QT += webkit
-CONFIG += link_pkgconfig
-PKGCONFIG += glib-2.0 \
-    liblocation
-TARGET = GoogleLatitude
-TEMPLATE = app
-SOURCES += main.cpp \
-    latitude.cpp \
-    glatitude.cpp \
-    gps.cpp
-HEADERS += latitude.h \
-    glatitude.h \
-    gps.h
-HEADERS += gpsfake.h
-
-unix { 
-    isEmpty(PREFIX):PREFIX = /usr/local
-    BINDIR = $$PREFIX/bin
-    DATADIR = $$PREFIX/share
-    DEFINES += DATADIR=\"$$DATADIR\" \
-        PKGDATADIR=\"$$PKGDATADIR\"
-    INSTALLS += target \
-        desktop \
-        iconxpm \
-        icon26 \
-        icon40 \
-        icon64
-    target.path = $$BINDIR
-    desktop.path = $$DATADIR/applications/hildon
-    desktop.files += $${TARGET}.desktop
-    iconxpm.path = $$DATADIR/pixmap
-    iconxpm.files += ../data/maemo/$${TARGET}.xpm
-    icon26.path = $$DATADIR/icons/hicolor/26x26/apps
-    icon26.files += ../data/26x26/$${TARGET}.png
-    icon40.path = $$DATADIR/icons/hicolor/40x40/apps
-    icon40.files += ../data/40x40/$${TARGET}.png
-    icon64.path = $$DATADIR/icons/hicolor/64x64/apps
-    icon64.files += ../data/64x64/$${TARGET}.png
+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  = daemon settings settingsplugin