Merge branch 'master' of https://vcs.maemo.org/git/situare into map
[situare] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
4 TARGET = ../situare
5 TEMPLATE = app
6 SOURCES += main.cpp \
7     ui/mainwindow.cpp \
8     ui/mapviewscreen.cpp \
9     ui/listviewscreen.cpp \
10     map/mapengine.cpp \
11     map/mapview.cpp \
12     map/mapscene.cpp \
13     map/maptile.cpp \
14     map/mapfetcher.cpp\
15     ui/pixmap.cpp \
16     ui/infotab.cpp
17 HEADERS += ui/mainwindow.h \
18     ui/mapviewscreen.h \
19     ui/listviewscreen.h \
20     map/mapengine.h \
21     map/mapview.h \
22     map/mapscene.h \
23     map/maptile.h \
24     map/mapfetcher.h \
25     map/mapcommon.h \
26     ui/pixmap.h \
27     ui/infotab.h
28 QT += network \
29     webkit
30
31 # use don't use OpenGL when building in scratchbox
32 !maemo5 { 
33     QT += opengl
34     message(OpenGL built in)
35     message(Make sure you have OpenGL development headers installed)
36     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
37 }
38
39 # -----------------------------------------------------------------
40 # Debian packetizing additions
41 # -----------------------------------------------------------------
42 unix { 
43     # VARIABLES
44     isEmpty(PREFIX):PREFIX = /usr
45     BINDIR = $$PREFIX/bin
46     DATADIR = $$PREFIX/share
47     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
48         PKGDATADIR=\\\"$$PKGDATADIR\\\"
49     
50     # MAKE INSTALL
51     desktop.path = $$DATADIR/applications/hildon
52     desktop.files += situare.desktop
53     INSTALLS += desktop
54     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
55     icon26.files += situare.png
56     INSTALLS += icon26
57     target.path = $$BINDIR
58     INSTALLS += target
59 }
60 RESOURCES +=