Removed old pictures.
[situare] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
4 TARGET = ../situare
5 TEMPLATE = app
6 INCLUDEPATH += "/usr/include/qjson"
7 LIBS += "-lqjson"
8 RESOURCES += ../images.qrc
9 SOURCES += main.cpp \
10     ui/mainwindow.cpp \
11     ui/mapviewscreen.cpp \
12     ui/listviewscreen.cpp \
13     situareservice/situareservice.cpp \
14     cookiehandler/cookiehandler.cpp \
15     facebookservice/facebookcredentials.cpp \
16     facebookservice/facebookauthentication.cpp \
17     map/mapengine.cpp \
18     map/mapview.cpp \
19     map/mapscene.cpp \
20     map/maptile.cpp \
21     map/mapfetcher.cpp \
22     map/mapzoompanel.cpp \
23     map/mapbutton.cpp \
24     ui/pixmap.cpp \
25     ui/infotab.cpp \
26     ui/updatelocation/updatelocationdialog.cpp \
27     ui/updatelocation/texteditautoresizer.cpp \
28     user/user.cpp \
29     ui/buttonitem.cpp \
30     ui/situareuser.cpp
31 HEADERS += ui/mainwindow.h \
32     ui/mapviewscreen.h \
33     ui/listviewscreen.h \
34     map/mapengine.h \
35     map/mapview.h \
36     map/mapscene.h \
37     map/maptile.h \
38     map/mapfetcher.h \
39     map/mapcommon.h \
40     map/mapzoompanel.h \
41     map/mapbutton.h \
42     ui/pixmap.h \
43     ui/infotab.h \
44     ui/updatelocation/updatelocationdialog.h \
45     ui/updatelocation/texteditautoresizer.h \
46     situareservice/situareservice.h \
47     situareservice/situarecommon.h \
48     cookiehandler/cookiehandler.h \
49     facebookservice/facebookcredentials.h \
50     facebookservice/facebookauthentication.h \
51     facebookservice/facebookcommon.h \
52     user/user.h \
53     ui/buttonitem.h \
54     ui/situareuser.h
55 QT += network \
56     webkit
57
58 # use don't use OpenGL when building in scratchbox
59 !maemo5 { 
60     QT += opengl
61     message(OpenGL built in)
62     message(Make sure you have OpenGL development headers installed)
63     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
64
65     message(QJson built in)
66     message(Make sure you have QJson development headers installed)
67     message(install headers with: sudo apt-get install libqjson-dev)
68 }
69
70 maemo5 {
71     message(QJson built in)
72     message(Make sure you have QJson development headers installed)
73     message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
74     message(and deb-src http://repository.maemo.org/extras-devel fremantle free non-free)
75     message(to scratchbox's sources.list in /etc/apt)
76     message(run: apt-get update)
77     message(install headers with: apt-get install libqjson-dev)
78 }
79
80 # -----------------------------------------------------------------
81 # Debian packetizing additions
82 # -----------------------------------------------------------------
83 unix { 
84     # VARIABLES
85     isEmpty(PREFIX):PREFIX = /usr
86     BINDIR = $$PREFIX/bin
87     DATADIR = $$PREFIX/share
88     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
89         PKGDATADIR=\\\"$$PKGDATADIR\\\"
90     
91     # MAKE INSTALL
92     desktop.path = $$DATADIR/applications/hildon
93     desktop.files += situare.desktop
94     INSTALLS += desktop
95     icon48.path = $$DATADIR/icons/hicolor/48x48/apps
96     icon48.files += ../res/icon/48x48/situare.png
97     INSTALLS += icon48
98     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
99     icon64.files += ../res/icon/64x64/situare.png
100     INSTALLS += icon64
101     target.path = $$BINDIR
102     INSTALLS += target
103 }
104 RESOURCES +=