Merge branch 'dev' of https://vcs.maemo.org/git/situare into dev
[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     map/mapzoompanel.cpp \
21     map/mapbutton.cpp \
22     ui/pixmap.cpp \
23     ui/infotab.cpp \
24     ui/updatelocation/updatelocationdialog.cpp \
25     ui/updatelocation/texteditautoresizer.cpp \
26     ui/buttonitem.cpp
27 HEADERS += ui/mainwindow.h \
28     ui/mapviewscreen.h \
29     ui/listviewscreen.h \
30     map/mapengine.h \
31     map/mapview.h \
32     map/mapscene.h \
33     map/maptile.h \
34     map/mapfetcher.h \
35     map/mapcommon.h \
36     map/mapzoompanel.h \
37     map/mapbutton.h \
38     ui/pixmap.h \
39     ui/infotab.h \
40     ui/updatelocation/updatelocationdialog.h \
41     ui/updatelocation/texteditautoresizer.h \
42     situareservice/situareservice.h \
43     situareservice/situarecommon.h \
44     cookiehandler/cookiehandler.h \
45     facebookservice/facebookcredentials.h \
46     facebookservice/facebookauthentication.h \
47     facebookservice/facebookcommon.h \
48     ui/buttonitem.h
49 QT += network \
50     webkit
51
52 # use don't use OpenGL when building in scratchbox
53 !maemo5 { 
54     QT += opengl
55     message(OpenGL built in)
56     message(Make sure you have OpenGL development headers installed)
57     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
58 }
59
60 # -----------------------------------------------------------------
61 # Debian packetizing additions
62 # -----------------------------------------------------------------
63 unix { 
64     # VARIABLES
65     isEmpty(PREFIX):PREFIX = /usr
66     BINDIR = $$PREFIX/bin
67     DATADIR = $$PREFIX/share
68     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
69         PKGDATADIR=\\\"$$PKGDATADIR\\\"
70     
71     # MAKE INSTALL
72     desktop.path = $$DATADIR/applications/hildon
73     desktop.files += situare.desktop
74     INSTALLS += desktop
75     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
76     icon26.files += situare.png
77     INSTALLS += icon26
78     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
79     icon40.files += situare_40x40.png
80     INSTALLS += icon40
81     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
82     icon64.files += situare_64x64.png
83     INSTALLS += icon64
84     target.path = $$BINDIR
85     INSTALLS += target
86 }
87 RESOURCES +=