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