Created SidePanel class, which is base class for both panels.
[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     situareservice/situareservice.cpp \
13     situareservice/imagefetcher.cpp \
14     facebookservice/facebookcredentials.cpp \
15     facebookservice/facebookauthentication.cpp \
16     map/mapengine.cpp \
17     map/mapview.cpp \
18     map/mapscene.cpp \
19     map/maptile.cpp \
20     map/mapfetcher.cpp \
21     map/ownlocationitem.cpp \
22     map/baselocationitem.cpp \
23     map/friendlocationitem.cpp \
24     ui/updatelocation/updatelocationdialog.cpp \
25     ui/updatelocation/texteditautoresizer.cpp \
26     ui/friendlistview.cpp \
27     ui/friendlistitem.cpp \
28     user/user.cpp \
29     ui/avatarimage.cpp \
30     engine/engine.cpp \
31     ui/settingsdialog.cpp \
32     ui/logindialog.cpp \
33     map/maptilerequest.cpp \
34     ui/imagebutton.cpp \
35     ui/friendlistpanel.cpp \
36     ui/userpanel.cpp \
37     ui/panelsidebar.cpp \
38     ui/panelsliderbar.cpp \
39     map/friendgroupitem.cpp \
40     map/frienditemshandler.cpp \
41     gps/gpsposition.cpp \
42     map/gpslocationitem.cpp \
43     ui/zoombuttonpanel.cpp \
44     ui/userinfo.cpp \
45     ui/sidepanel.cpp
46 HEADERS += ui/mainwindow.h \
47     ui/mapviewscreen.h \
48     map/mapengine.h \
49     map/mapview.h \
50     map/mapscene.h \
51     map/maptile.h \
52     map/mapfetcher.h \
53     map/mapcommon.h \
54     map/ownlocationitem.h \
55     map/baselocationitem.h \
56     map/friendlocationitem.h \
57     ui/updatelocation/updatelocationdialog.h \
58     ui/updatelocation/texteditautoresizer.h \
59     situareservice/situareservice.h \
60     situareservice/situarecommon.h \
61     situareservice/imagefetcher.h \
62     facebookservice/facebookcredentials.h \
63     facebookservice/facebookauthentication.h \
64     facebookservice/facebookcommon.h \
65     ui/friendlistview.h \
66     ui/friendlistitem.h \
67     user/user.h \
68     ui/avatarimage.h \
69     engine/engine.h \
70     ui/settingsdialog.h \
71     ui/logindialog.h \
72     map/maptilerequest.h \
73     ui/imagebutton.h \
74     ui/friendlistpanel.h \
75     ui/userpanel.h \
76     ui/panelcommon.h \
77     ui/panelsidebar.h \
78     ui/panelsliderbar.h \
79     map/friendgroupitem.h \
80     map/frienditemshandler.h \
81     gps/gpsposition.h \
82     map/gpslocationitem.h \
83     gps/gpscommon.h \
84     ui/zoombuttonpanel.h \
85     common.h \
86     ui/userinfo.h \
87     ui/sidepanel.h
88 QT += network \
89     webkit
90
91 DEFINES += QT_NO_DEBUG_OUTPUT
92
93 !maemo5 {
94     SOURCES += gps/gpspositionprivatestub.cpp
95     HEADERS += gps/gpspositionprivatestub.h
96     message(QJson built in)
97     message(Make sure you have QJson development headers installed)
98     message(install headers with: sudo apt-get install libqjson-dev)
99 }
100 maemo5 {
101     SOURCES += gps/gpspositionprivate.cpp
102     HEADERS += gps/gpspositionprivate.h
103     QT += maemo5
104     CONFIG += mobility
105     MOBILITY = location
106     message([QJson])
107     message(Make sure you have QJson development headers installed)
108     message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
109     message(to Scratchbox's sources.list in /etc/apt)
110     message(run: apt-get update)
111     message(install headers with: apt-get install libqjson-dev)
112     message([QtMobility])
113     message(Make sure you have QtMobility development headers installed)
114     message(install headers with: apt-get install libqtm-dev)
115 }
116
117
118 # -----------------------------------------------------------------
119 # Debian packetizing additions
120 # -----------------------------------------------------------------
121 unix {
122     # VARIABLES
123     isEmpty(PREFIX):PREFIX = /usr
124     BINDIR = $$PREFIX/bin
125     DATADIR = $$PREFIX/share
126     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
127         PKGDATADIR=\\\"$$PKGDATADIR\\\"
128     
129     # MAKE INSTALL
130     desktop.path = $$DATADIR/applications/hildon
131     desktop.files += situare.desktop
132     INSTALLS += desktop
133     icon48.path = $$DATADIR/icons/hicolor/48x48/apps
134     icon48.files += ../res/icon/48x48/situare.png
135     INSTALLS += icon48
136     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
137     icon64.files += ../res/icon/64x64/situare.png
138     INSTALLS += icon64
139     target.path = $$BINDIR
140     INSTALLS += target
141 }