Results after hard coding day...
[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     map/mapengine.cpp \
12     map/mapview.cpp \
13     map/mapscene.cpp \
14     map/maptile.cpp \
15     map/mapfetcher.cpp \
16     ui/pixmap.cpp \
17     ui/infotab.cpp
18 HEADERS += ui/mainwindow.h \
19     ui/mapviewscreen.h \
20     ui/listviewscreen.h \
21     map/mapengine.h \
22     map/mapview.h \
23     map/mapscene.h \
24     map/maptile.h \
25     map/mapfetcher.h \
26     common.h \
27     ui/pixmap.h \
28     ui/infotab.h
29 QT += network \
30     webkit
31
32 # -----------------------------------------------------------------
33 # Debian packetizing additions
34 # -----------------------------------------------------------------
35 unix { 
36     # VARIABLES
37     isEmpty(PREFIX):PREFIX = /usr
38     BINDIR = $$PREFIX/bin
39     DATADIR = $$PREFIX/share
40     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
41         PKGDATADIR=\\\"$$PKGDATADIR\\\"
42     
43     # MAKE INSTALL
44     desktop.path = $$DATADIR/applications/hildon
45     desktop.files += situare.desktop
46     INSTALLS += desktop
47     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
48     icon26.files += situare.png
49     INSTALLS += icon26
50     target.path = $$BINDIR
51     INSTALLS += target
52 }