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