ade050abe0ddb02fd9ad001477a9f727598bd39d
[googlelatitude] / src / src.pro
1 QT += network
2 QT += webkit
3 CONFIG += link_pkgconfig
4 PKGCONFIG += glib-2.0 \
5     liblocation
6 TARGET = GoogleLatitude
7 TEMPLATE = app
8 SOURCES += main.cpp \
9     latitude.cpp \
10     glatitude.cpp \
11     gps.cpp
12 HEADERS += latitude.h \
13     glatitude.h \
14     gps.h \
15     gpsfake.h
16 unix { 
17     isEmpty(PREFIX):PREFIX = /usr/local
18     BINDIR = $$PREFIX/bin
19     DATADIR = $$PREFIX/share
20     DEFINES += DATADIR=\"$$DATADIR\" \
21         PKGDATADIR=\"$$PKGDATADIR\"
22     INSTALLS += target \
23         desktop \
24         iconxpm \
25         icon26 \
26         icon40 \
27         icon64
28     target.path = $$BINDIR
29     desktop.path = $$DATADIR/applications/hildon
30     desktop.files += $${TARGET}.desktop
31     iconxpm.path = $$DATADIR/pixmap
32     iconxpm.files += ../data/maemo/$${TARGET}.xpm
33     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
34     icon26.files += ../data/26x26/$${TARGET}.png
35     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
36     icon40.files += ../data/40x40/$${TARGET}.png
37     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
38     icon64.files += ../data/64x64/$${TARGET}.png
39 }