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