modified src.pro
authorVille Tiensuu <ville.tiensuu@ixonos.com>
Fri, 16 Apr 2010 12:09:10 +0000 (15:09 +0300)
committerVille Tiensuu <ville.tiensuu@ixonos.com>
Fri, 16 Apr 2010 12:09:10 +0000 (15:09 +0300)
src/src.pro

index 0f41e42..55d7797 100644 (file)
@@ -1,8 +1,9 @@
 # -------------------------------------------------
 # Project created by QtCreator 2010-03-26T07:57:35
 # -------------------------------------------------
-TARGET = situare
+TARGET = ../situare
 TEMPLATE = app
+RESOURCES += images.qrc
 SOURCES += main.cpp \
     ui/mainwindow.cpp \
     ui/mapviewscreen.cpp \
@@ -10,39 +11,51 @@ SOURCES += main.cpp \
     situareservice/situareservice.cpp \
     cookiehandler/cookiehandler.cpp \
     facebookservice/facebookcredentials.cpp \
-    facebookservice/facebookauthentication.cpp
+    facebookservice/facebookauthentication.cpp \
+    map/mapengine.cpp \
+    map/mapview.cpp \
+    map/mapscene.cpp \
+    map/maptile.cpp \
+    map/mapfetcher.cpp \
+    ui/pixmap.cpp \
+    ui/infotab.cpp
 HEADERS += ui/mainwindow.h \
     ui/mapviewscreen.h \
     ui/listviewscreen.h \
+    map/mapengine.h \
+    map/mapview.h \
+    map/mapscene.h \
+    map/maptile.h \
+    map/mapfetcher.h \
+    common.h \
+    ui/pixmap.h \
+    ui/infotab.h \
     situareservice/situareservice.h \
     situareservice/situarecommon.h \
     cookiehandler/cookiehandler.h \
     facebookservice/facebookcredentials.h \
     facebookservice/facebookauthentication.h
-QT += core \
-    network \
-    webkit
+QT += network \
+      webkit
 
 # -----------------------------------------------------------------
 # Debian packetizing additions
 # -----------------------------------------------------------------
 unix { 
     # VARIABLES
-    isEmpty(PREFIX):PREFIX = /usr/local
-
+    isEmpty(PREFIX):PREFIX = /usr
     BINDIR = $$PREFIX/bin
     DATADIR = $$PREFIX/share
-
-    DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
-
+    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
+        PKGDATADIR=\\\"$$PKGDATADIR\\\"
+    
     # MAKE INSTALL
-    INSTALLS += target desktop iconxpm icon26
-    target.path = $$BINDIR
-
     desktop.path = $$DATADIR/applications/hildon
-    desktop.files += $${TARGET}.desktop
-
+    desktop.files += situare.desktop
+    INSTALLS += desktop
     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
     icon26.files += situare.png
+    INSTALLS += icon26
+    target.path = $$BINDIR
+    INSTALLS += target
 }