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