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 \
103 DEFINES += QT_NO_DEBUG_OUTPUT
106 SOURCES += network/networkhandlerprivatestub.cpp \
107 gps/gpspositionprivate.cpp
108 HEADERS += network/networkhandlerprivatestub.h \
109 gps/gpspositionprivate.h
116 INCLUDEPATH += /usr/include/glib-2.0 /usr/lib/glib-2.0/include
117 SOURCES += network/networkhandlerprivate.cpp
118 HEADERS += network/networkhandlerprivate.h
121 SOURCES += gps/gpspositionprivateliblocation.cpp \
122 gps/liblocationwrapper.cpp \
123 gps/geopositioninfo.cpp \
124 gps/geocoordinate.cpp
125 HEADERS += gps/gpspositionprivateliblocation.h \
126 gps/liblocationwrapper.h \
127 gps/geopositioninfo.h \
129 CONFIG += link_pkgconfig
130 PKGCONFIG += glib-2.0 liblocation
132 SOURCES += gps/gpspositionprivatestub.cpp \
133 network/networkhandlerprivatestub.cpp
134 HEADERS += gps/gpspositionprivatestub.h \
135 network/networkhandlerprivatestub.h
141 message(Make sure you have QJson development headers installed)
142 message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
143 message(to Scratchbox's sources.list in /etc/apt)
144 message(run: apt-get update)
145 message(install headers with: apt-get install libqjson-dev)
146 message([QtMobility])
147 message(Make sure you have QtMobility development headers installed)
148 message(install headers with: apt-get install libqtm-dev)
150 SOURCES += gps/gpspositionprivatestub.cpp \
151 network/networkhandlerprivatestub.cpp
152 HEADERS += gps/gpspositionprivatestub.h \
153 network/networkhandlerprivatestub.h
154 message(QJson built in)
155 message(Make sure you have QJson development headers installed)
156 message(install headers with: sudo apt-get install libqjson-dev)
159 # -----------------------------------------------------------------
160 # Debian packetizing additions
161 # -----------------------------------------------------------------
164 isEmpty(PREFIX):PREFIX = /usr
165 BINDIR = $$PREFIX/bin
166 DATADIR = $$PREFIX/share
167 DEFINES += DATADIR=\\\"$$DATADIR\\\" \
168 PKGDATADIR=\\\"$$PKGDATADIR\\\"
171 desktop.path = $$DATADIR/applications/hildon
172 desktop.files += situare.desktop
174 icon48.path = $$DATADIR/icons/hicolor/48x48/apps
175 icon48.files += ../res/icon/48x48/situare.png
177 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
178 icon64.files += ../res/icon/64x64/situare.png
180 target.path = $$BINDIR