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