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