Added dummy_image.png and list_item.png to res.
[situare] / src / src.pro
index 692831f..8a86d77 100644 (file)
@@ -3,7 +3,9 @@
 # -------------------------------------------------
 TARGET = ../situare
 TEMPLATE = app
-RESOURCES += images.qrc
+INCLUDEPATH += "/usr/include/qjson"
+LIBS += "-lqjson"
+RESOURCES += ../images.qrc
 SOURCES += main.cpp \
     ui/mainwindow.cpp \
     ui/mapviewscreen.cpp \
@@ -20,7 +22,12 @@ SOURCES += main.cpp \
     ui/pixmap.cpp \
     ui/infotab.cpp \
     ui/updatelocation/updatelocationdialog.cpp \
-    ui/updatelocation/texteditautoresizer.cpp
+    ui/updatelocation/texteditautoresizer.cpp \
+    ui/friendlistview.cpp \
+    ui/friendlistitemdelegate.cpp \
+    ui/friendlistitem.cpp \
+    engine/engine.cpp \
+    user/user.cpp
 HEADERS += ui/mainwindow.h \
     ui/mapviewscreen.h \
     ui/listviewscreen.h \
@@ -39,7 +46,13 @@ HEADERS += ui/mainwindow.h \
     cookiehandler/cookiehandler.h \
     facebookservice/facebookcredentials.h \
     facebookservice/facebookauthentication.h \
-    facebookservice/facebookcommon.h
+    facebookservice/facebookcommon.h \
+    ui/friendlistview.h \
+    ui/friendlistitemdelegate.h \
+    ui/friendlistitem.h \
+    engine/engine.h \
+    user/user.h
+
 QT += network \
     webkit
 
@@ -49,6 +62,20 @@ QT += network \
     message(OpenGL built in)
     message(Make sure you have OpenGL development headers installed)
     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
+
+    message(QJson built in)
+    message(Make sure you have QJson development headers installed)
+    message(install headers with: sudo apt-get install libqjson-dev)
+}
+
+maemo5 {
+    message(QJson built in)
+    message(Make sure you have QJson development headers installed)
+    message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
+    message(and deb-src http://repository.maemo.org/extras-devel fremantle free non-free)
+    message(to scratchbox's sources.list in /etc/apt)
+    message(run: apt-get update)
+    message(install headers with: apt-get install libqjson-dev)
 }
 
 # -----------------------------------------------------------------
@@ -66,14 +93,11 @@ unix {
     desktop.path = $$DATADIR/applications/hildon
     desktop.files += situare.desktop
     INSTALLS += desktop
-    icon26.path = $$DATADIR/icons/hicolor/26x26/apps
-    icon26.files += situare.png
-    INSTALLS += icon26
-    icon40.path = $$DATADIR/icons/hicolor/40x40/apps
-    icon40.files += situare_40x40.png
-    INSTALLS += icon40
+    icon48.path = $$DATADIR/icons/hicolor/48x48/apps
+    icon48.files += ../res/icon/48x48/situare.png
+    INSTALLS += icon48
     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
-    icon64.files += situare_64x64.png
+    icon64.files += ../res/icon/64x64/situare.png
     INSTALLS += icon64
     target.path = $$BINDIR
     INSTALLS += target