Functional tests for friend icon grouping
[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     map/baselocationitem.cpp \
27     map/friendlocationitem.cpp \
28     ui/pixmap.cpp \
29     ui/infotab.cpp \
30     ui/updatelocation/updatelocationdialog.cpp \
31     ui/updatelocation/texteditautoresizer.cpp \
32     ui/friendlistview.cpp \
33     ui/friendlistitem.cpp \
34     user/user.cpp \
35     ui/buttonitem.cpp \
36     ui/situareuser.cpp \
37     engine/engine.cpp \
38     ui/settingsdialog.cpp \
39     map/maptilerequest.cpp \
40     map/friendgroupitem.cpp \
41     map/frienditemshandler.cpp
42 HEADERS += ui/mainwindow.h \
43     ui/mapviewscreen.h \
44     ui/listviewscreen.h \
45     map/mapengine.h \
46     map/mapview.h \
47     map/mapscene.h \
48     map/maptile.h \
49     map/mapfetcher.h \
50     map/mapcommon.h \
51     map/mapzoompanel.h \
52     map/mapbutton.h \
53     map/ownlocationitem.h \
54     map/baselocationitem.h \
55     map/friendlocationitem.h \
56     ui/pixmap.h \
57     ui/infotab.h \
58     ui/updatelocation/updatelocationdialog.h \
59     ui/updatelocation/texteditautoresizer.h \
60     situareservice/situareservice.h \
61     situareservice/situarecommon.h \
62     situareservice/imagefetcher.h \
63     cookiehandler/cookiehandler.h \
64     facebookservice/facebookcredentials.h \
65     facebookservice/facebookauthentication.h \
66     facebookservice/facebookcommon.h \
67     ui/friendlistview.h \
68     ui/friendlistitem.h \
69     user/user.h \
70     ui/buttonitem.h \
71     ui/situareuser.h \
72     engine/engine.h \
73     ui/settingsdialog.h \
74     map/maptilerequest.h \
75     map/friendgroupitem.h \
76     map/frienditemshandler.h
77 QT += network \
78     webkit
79 DEFINES += QT_NO_DEBUG_OUTPUT
80 !maemo5 { 
81     message(QJson built in)
82     message(Make sure you have QJson development headers installed)
83     message(install headers with: sudo apt-get install libqjson-dev)
84 }
85 maemo5 { 
86     message(QJson built in)
87     message(Make sure you have QJson development headers installed)
88     message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
89     message(to scratchbox's sources.list in /etc/apt)
90     message(run: apt-get update)
91     message(install headers with: apt-get install libqjson-dev)
92 }
93
94 # -----------------------------------------------------------------
95 # Debian packetizing additions
96 # -----------------------------------------------------------------
97 unix { 
98     # VARIABLES
99     isEmpty(PREFIX):PREFIX = /usr
100     BINDIR = $$PREFIX/bin
101     DATADIR = $$PREFIX/share
102     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
103         PKGDATADIR=\\\"$$PKGDATADIR\\\"
104     
105     # MAKE INSTALL
106     desktop.path = $$DATADIR/applications/hildon
107     desktop.files += situare.desktop
108     INSTALLS += desktop
109     icon48.path = $$DATADIR/icons/hicolor/48x48/apps
110     icon48.files += ../res/icon/48x48/situare.png
111     INSTALLS += icon48
112     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
113     icon64.files += ../res/icon/64x64/situare.png
114     INSTALLS += icon64
115     target.path = $$BINDIR
116     INSTALLS += target
117 }