modified src.pro
[situare] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
4 TARGET = ../situare
5 TEMPLATE = app
6 RESOURCES += images.qrc
7 SOURCES += main.cpp \
8     ui/mainwindow.cpp \
9     ui/mapviewscreen.cpp \
10     ui/listviewscreen.cpp \
11     situareservice/situareservice.cpp \
12     cookiehandler/cookiehandler.cpp \
13     facebookservice/facebookcredentials.cpp \
14     facebookservice/facebookauthentication.cpp \
15     map/mapengine.cpp \
16     map/mapview.cpp \
17     map/mapscene.cpp \
18     map/maptile.cpp \
19     map/mapfetcher.cpp \
20     ui/pixmap.cpp \
21     ui/infotab.cpp
22 HEADERS += ui/mainwindow.h \
23     ui/mapviewscreen.h \
24     ui/listviewscreen.h \
25     map/mapengine.h \
26     map/mapview.h \
27     map/mapscene.h \
28     map/maptile.h \
29     map/mapfetcher.h \
30     common.h \
31     ui/pixmap.h \
32     ui/infotab.h \
33     situareservice/situareservice.h \
34     situareservice/situarecommon.h \
35     cookiehandler/cookiehandler.h \
36     facebookservice/facebookcredentials.h \
37     facebookservice/facebookauthentication.h
38 QT += network \
39       webkit
40
41 # -----------------------------------------------------------------
42 # Debian packetizing additions
43 # -----------------------------------------------------------------
44 unix { 
45     # VARIABLES
46     isEmpty(PREFIX):PREFIX = /usr
47     BINDIR = $$PREFIX/bin
48     DATADIR = $$PREFIX/share
49     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
50         PKGDATADIR=\\\"$$PKGDATADIR\\\"
51     
52     # MAKE INSTALL
53     desktop.path = $$DATADIR/applications/hildon
54     desktop.files += situare.desktop
55     INSTALLS += desktop
56     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
57     icon26.files += situare.png
58     INSTALLS += icon26
59     target.path = $$BINDIR
60     INSTALLS += target
61 }