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