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