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