Modified friendlistitem and friendlistview after review.
[situare] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
4 TARGET = ../situare
5 TEMPLATE = app
6 INCLUDEPATH += "/usr/include/qjson"
7 LIBS += "-lqjson"
8 RESOURCES += ../images.qrc
9 SOURCES += main.cpp \
10     ui/mainwindow.cpp \
11     ui/mapviewscreen.cpp \
12     ui/listviewscreen.cpp \
13     situareservice/situareservice.cpp \
14     situareservice/imagefetcher.cpp \
15     cookiehandler/cookiehandler.cpp \
16     facebookservice/facebookcredentials.cpp \
17     facebookservice/facebookauthentication.cpp \
18     map/mapengine.cpp \
19     map/mapview.cpp \
20     map/mapscene.cpp \
21     map/maptile.cpp \
22     map/mapfetcher.cpp \
23     map/mapzoompanel.cpp \
24     map/mapbutton.cpp \
25     map/ownlocationitem.cpp \
26     ui/pixmap.cpp \
27     ui/infotab.cpp \
28     ui/updatelocation/updatelocationdialog.cpp \
29     ui/updatelocation/texteditautoresizer.cpp \
30     ui/friendlistview.cpp \
31     ui/friendlistitem.cpp \
32     engine/engine.cpp \
33     user/user.cpp \
34     ui/buttonitem.cpp \
35     ui/situareuser.cpp \
36     ui/settingsdialog.cpp
37 HEADERS += ui/mainwindow.h \
38     ui/mapviewscreen.h \
39     ui/listviewscreen.h \
40     map/mapengine.h \
41     map/mapview.h \
42     map/mapscene.h \
43     map/maptile.h \
44     map/mapfetcher.h \
45     map/mapcommon.h \
46     map/mapzoompanel.h \
47     map/mapbutton.h \
48     map/ownlocationitem.h \
49     ui/pixmap.h \
50     ui/infotab.h \
51     ui/updatelocation/updatelocationdialog.h \
52     ui/updatelocation/texteditautoresizer.h \
53     situareservice/situareservice.h \
54     situareservice/situarecommon.h \
55     situareservice/imagefetcher.h \
56     cookiehandler/cookiehandler.h \
57     facebookservice/facebookcredentials.h \
58     facebookservice/facebookauthentication.h \
59     facebookservice/facebookcommon.h \
60     ui/friendlistview.h \
61     ui/friendlistitem.h \
62     engine/engine.h \
63     user/user.h \
64     ui/buttonitem.h \
65     ui/situareuser.h \
66     ui/settingsdialog.h
67 QT += network \
68     webkit
69
70 !maemo5 { 
71     message(QJson built in)
72     message(Make sure you have QJson development headers installed)
73     message(install headers with: sudo apt-get install libqjson-dev)
74 }
75
76 maemo5 {
77     message(QJson built in)
78     message(Make sure you have QJson development headers installed)
79     message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
80     message(to scratchbox's sources.list in /etc/apt)
81     message(run: apt-get update)
82     message(install headers with: apt-get install libqjson-dev)
83 }
84
85 # -----------------------------------------------------------------
86 # Debian packetizing additions
87 # -----------------------------------------------------------------
88 unix { 
89     # VARIABLES
90     isEmpty(PREFIX):PREFIX = /usr
91     BINDIR = $$PREFIX/bin
92     DATADIR = $$PREFIX/share
93     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
94         PKGDATADIR=\\\"$$PKGDATADIR\\\"
95     
96     # MAKE INSTALL
97     desktop.path = $$DATADIR/applications/hildon
98     desktop.files += situare.desktop
99     INSTALLS += desktop
100     icon48.path = $$DATADIR/icons/hicolor/48x48/apps
101     icon48.files += ../res/icon/48x48/situare.png
102     INSTALLS += icon48
103     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
104     icon64.files += ../res/icon/64x64/situare.png
105     INSTALLS += icon64
106     target.path = $$BINDIR
107     INSTALLS += target
108 }
109 RESOURCES +=