Added engine to master
[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     situareservice/imagefetcher.cpp \
15     cookiehandler/cookiehandler.cpp \
16     facebookservice/facebookcredentials.cpp \
17     facebookservice/facebookauthentication.cpp \
18     map/mapengine.cpp \
19     map/mapview.cpp \
20     map/mapscene.cpp \
21     map/maptile.cpp \
22     map/mapfetcher.cpp \
23     ui/pixmap.cpp \
24     ui/infotab.cpp \
25     ui/updatelocation/updatelocationdialog.cpp \
26     ui/updatelocation/texteditautoresizer.cpp \
27     engine/engine.cpp \
28     user/user.cpp \
29     ui/settingsdialog.cpp
30 HEADERS += ui/mainwindow.h \
31     ui/mapviewscreen.h \
32     ui/listviewscreen.h \
33     map/mapengine.h \
34     map/mapview.h \
35     map/mapscene.h \
36     map/maptile.h \
37     map/mapfetcher.h \
38     map/mapcommon.h \
39     ui/pixmap.h \
40     ui/infotab.h \
41     ui/updatelocation/updatelocationdialog.h \
42     ui/updatelocation/texteditautoresizer.h \
43     situareservice/situareservice.h \
44     situareservice/situarecommon.h \
45     situareservice/imagefetcher.h \
46     cookiehandler/cookiehandler.h \
47     facebookservice/facebookcredentials.h \
48     facebookservice/facebookauthentication.h \
49     facebookservice/facebookcommon.h \
50     engine/engine.h \
51     user/user.h \
52     ui/settingsdialog.h
53 QT += network \
54     webkit
55
56 # use don't use OpenGL when building in scratchbox
57 !maemo5 { 
58     QT += opengl
59     message(OpenGL built in)
60     message(Make sure you have OpenGL development headers installed)
61     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
62     message(QJson built in)
63     message(Make sure you have QJson development headers installed)
64     message(install headers with: sudo apt-get install libqjson-dev)
65 }
66 maemo5 { 
67     message(QJson built in)
68     message(Make sure you have QJson development headers installed)
69     message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
70     message(to scratchbox's sources.list in /etc/apt)
71     message(run: apt-get update)
72     message(install headers with: apt-get install libqjson-dev)
73 }
74
75 # -----------------------------------------------------------------
76 # Debian packetizing additions
77 # -----------------------------------------------------------------
78 unix { 
79     # VARIABLES
80     isEmpty(PREFIX):PREFIX = /usr
81     BINDIR = $$PREFIX/bin
82     DATADIR = $$PREFIX/share
83     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
84         PKGDATADIR=\\\"$$PKGDATADIR\\\"
85     
86     # MAKE INSTALL
87     desktop.path = $$DATADIR/applications/hildon
88     desktop.files += situare.desktop
89     INSTALLS += desktop
90     icon48.path = $$DATADIR/icons/hicolor/48x48/apps
91     icon48.files += ../res/icon/48x48/situare.png
92     INSTALLS += icon48
93     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
94     icon64.files += ../res/icon/64x64/situare.png
95     INSTALLS += icon64
96     target.path = $$BINDIR
97     INSTALLS += target
98 }
99 RESOURCES +=