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
52 HEADERS += ui/mainwindow.h \
59 map/ownlocationitem.h \
60 map/baselocationitem.h \
61 map/friendlocationitem.h \
62 ui/updatelocation/updatelocationdialog.h \
63 ui/updatelocation/texteditautoresizer.h \
64 situareservice/situareservice.h \
65 situareservice/situarecommon.h \
66 situareservice/imagefetcher.h \
67 facebookservice/facebookcredentials.h \
68 facebookservice/facebookauthentication.h \
69 facebookservice/facebookcommon.h \
77 map/maptilerequest.h \
79 ui/friendlistpanel.h \
84 map/friendgroupitem.h \
85 map/frienditemshandler.h \
87 map/gpslocationitem.h \
89 ui/zoombuttonpanel.h \
94 network/networkaccessmanager.h \
95 network/networkhandler.h \
96 network/networkcookiejar.h \
97 network/networkreply.h
101 DEFINES += QT_NO_DEBUG_OUTPUT
104 SOURCES += network/networkhandlerprivatestub.cpp \
105 gps/gpspositionprivate.cpp
106 HEADERS += network/networkhandlerprivatestub.h \
107 gps/gpspositionprivate.h
114 INCLUDEPATH += /usr/include/glib-2.0 /usr/lib/glib-2.0/include
115 SOURCES += network/networkhandlerprivate.cpp
116 HEADERS += network/networkhandlerprivate.h
119 SOURCES += gps/gpspositionprivateliblocation.cpp \
120 gps/liblocationwrapper.cpp \
121 gps/geopositioninfo.cpp \
122 gps/geocoordinate.cpp
123 HEADERS += gps/gpspositionprivateliblocation.h \
124 gps/liblocationwrapper.h \
125 gps/geopositioninfo.h \
127 CONFIG += link_pkgconfig
129 SOURCES += gps/gpspositionprivatestub.cpp \
130 network/networkhandlerprivatestub.cpp
131 HEADERS += gps/gpspositionprivatestub.h \
132 network/networkhandlerprivatestub.h
137 PKGCONFIG += glib-2.0 liblocation
139 message(Make sure you have QJson development headers installed)
140 message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
141 message(to Scratchbox's sources.list in /etc/apt)
142 message(run: apt-get update)
143 message(install headers with: apt-get install libqjson-dev)
144 message([QtMobility])
145 message(Make sure you have QtMobility development headers installed)
146 message(install headers with: apt-get install libqtm-dev)
148 SOURCES += gps/gpspositionprivatestub.cpp \
149 network/networkhandlerprivatestub.cpp
150 HEADERS += gps/gpspositionprivatestub.h \
151 network/networkhandlerprivatestub.h
152 message(QJson built in)
153 message(Make sure you have QJson development headers installed)
154 message(install headers with: sudo apt-get install libqjson-dev)
157 # -----------------------------------------------------------------
158 # Debian packetizing additions
159 # -----------------------------------------------------------------
162 isEmpty(PREFIX):PREFIX = /usr
163 BINDIR = $$PREFIX/bin
164 DATADIR = $$PREFIX/share
165 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
166 PKGDATADIR=\\\"$$PKGDATADIR\\\"
169 desktop.path = $$DATADIR/applications/hildon
170 desktop.files += situare.desktop
172 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
173 icon48.files += ../res/icon/48x48/situare.png
175 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
176 icon64.files += ../res/icon/64x64/situare.png
178 target.path = $$BINDIR