1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
6 INCLUDEPATH += /usr/include/qjson
8 RESOURCES += ../images.qrc \
10 TRANSLATIONS += ../res/languages/situare_fi.ts
13 situareservice/situareservice.cpp \
14 situareservice/imagefetcher.cpp \
15 facebookservice/facebookcredentials.cpp \
16 facebookservice/facebookauthentication.cpp \
22 map/ownlocationitem.cpp \
23 map/baselocationitem.cpp \
24 map/friendlocationitem.cpp \
25 ui/updatelocation/updatelocationdialog.cpp \
26 ui/updatelocation/texteditautoresizer.cpp \
27 ui/friendlistview.cpp \
28 ui/friendlistitem.cpp \
32 ui/settingsdialog.cpp \
34 map/maptilerequest.cpp \
36 ui/friendlistpanel.cpp \
37 ui/userinfopanel.cpp \
39 ui/panelsliderbar.cpp \
40 map/friendgroupitem.cpp \
41 map/frienditemshandler.cpp \
43 map/gpslocationitem.cpp \
44 ui/zoombuttonpanel.cpp \
48 network/networkaccessmanager.cpp \
49 network/networkhandler.cpp \
50 network/networkcookiejar.cpp \
51 network/networkreply.cpp \
53 HEADERS += ui/mainwindow.h \
60 map/ownlocationitem.h \
61 map/baselocationitem.h \
62 map/friendlocationitem.h \
63 ui/updatelocation/updatelocationdialog.h \
64 ui/updatelocation/texteditautoresizer.h \
65 situareservice/situareservice.h \
66 situareservice/situarecommon.h \
67 situareservice/imagefetcher.h \
68 facebookservice/facebookcredentials.h \
69 facebookservice/facebookauthentication.h \
70 facebookservice/facebookcommon.h \
78 map/maptilerequest.h \
80 ui/friendlistpanel.h \
85 map/friendgroupitem.h \
86 map/frienditemshandler.h \
88 map/gpslocationitem.h \
90 ui/zoombuttonpanel.h \
95 network/networkaccessmanager.h \
96 network/networkhandler.h \
97 network/networkcookiejar.h \
98 network/networkreply.h \
102 DEFINES += QT_NO_DEBUG_OUTPUT
105 SOURCES += network/networkhandlerprivatestub.cpp \
106 gps/gpspositionprivate.cpp
107 HEADERS += network/networkhandlerprivatestub.h \
108 gps/gpspositionprivate.h
115 INCLUDEPATH += /usr/include/glib-2.0 /usr/lib/glib-2.0/include
116 SOURCES += network/networkhandlerprivate.cpp
117 HEADERS += network/networkhandlerprivate.h
120 SOURCES += gps/gpspositionprivateliblocation.cpp \
121 gps/liblocationwrapper.cpp \
122 gps/geopositioninfo.cpp \
123 gps/geocoordinate.cpp
124 HEADERS += gps/gpspositionprivateliblocation.h \
125 gps/liblocationwrapper.h \
126 gps/geopositioninfo.h \
128 CONFIG += link_pkgconfig
129 PKGCONFIG += glib-2.0 liblocation
131 SOURCES += gps/gpspositionprivatestub.cpp \
132 network/networkhandlerprivatestub.cpp
133 HEADERS += gps/gpspositionprivatestub.h \
134 network/networkhandlerprivatestub.h
140 message(Make sure you have QJson development headers installed)
141 message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
142 message(to Scratchbox's sources.list in /etc/apt)
143 message(run: apt-get update)
144 message(install headers with: apt-get install libqjson-dev)
145 message([QtMobility])
146 message(Make sure you have QtMobility development headers installed)
147 message(install headers with: apt-get install libqtm-dev)
149 SOURCES += gps/gpspositionprivatestub.cpp \
150 network/networkhandlerprivatestub.cpp
151 HEADERS += gps/gpspositionprivatestub.h \
152 network/networkhandlerprivatestub.h
153 message(QJson built in)
154 message(Make sure you have QJson development headers installed)
155 message(install headers with: sudo apt-get install libqjson-dev)
158 # -----------------------------------------------------------------
159 # Debian packetizing additions
160 # -----------------------------------------------------------------
163 isEmpty(PREFIX):PREFIX = /usr
164 BINDIR = $$PREFIX/bin
165 DATADIR = $$PREFIX/share
166 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
167 PKGDATADIR=\\\"$$PKGDATADIR\\\"
170 desktop.path = $$DATADIR/applications/hildon
171 desktop.files += situare.desktop
173 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
174 icon48.files += ../res/icon/48x48/situare.png
176 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
177 icon64.files += ../res/icon/64x64/situare.png
179 target.path = $$BINDIR