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