MapFetcher queuing refactoring
[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     ui/pixmap.cpp \
26     ui/infotab.cpp \
27     ui/updatelocation/updatelocationdialog.cpp \
28     ui/updatelocation/texteditautoresizer.cpp \
29     user/user.cpp \
30     ui/buttonitem.cpp \
31     ui/situareuser.cpp \
32     engine/engine.cpp \
33     ui/settingsdialog.cpp
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     situareservice/imagefetcher.h \
52     cookiehandler/cookiehandler.h \
53     facebookservice/facebookcredentials.h \
54     facebookservice/facebookauthentication.h \
55     facebookservice/facebookcommon.h \
56     ui/buttonitem.h \
57     ui/situareuser.h \
58     engine/engine.h \
59     user/user.h \
60     ui/settingsdialog.h
61 QT += network \
62     webkit
63
64 DEFINES += QT_NO_DEBUG_OUTPUT
65
66 !maemo5 { 
67     message(QJson built in)
68     message(Make sure you have QJson development headers installed)
69     message(install headers with: sudo apt-get install libqjson-dev)
70 }
71
72 maemo5 { 
73     message(QJson built in)
74     message(Make sure you have QJson development headers installed)
75     message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
76     message(and deb-src http://repository.maemo.org/extras-devel fremantle free non-free)
77     message(to scratchbox's sources.list in /etc/apt)
78     message(run: apt-get update)
79     message(install headers with: apt-get install libqjson-dev)
80 }
81
82 # -----------------------------------------------------------------
83 # Debian packetizing additions
84 # -----------------------------------------------------------------
85 unix { 
86     # VARIABLES
87     isEmpty(PREFIX):PREFIX = /usr
88     BINDIR = $$PREFIX/bin
89     DATADIR = $$PREFIX/share
90     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
91         PKGDATADIR=\\\"$$PKGDATADIR\\\"
92     
93     # MAKE INSTALL
94     desktop.path = $$DATADIR/applications/hildon
95     desktop.files += situare.desktop
96     INSTALLS += desktop
97     icon48.path = $$DATADIR/icons/hicolor/48x48/apps
98     icon48.files += ../res/icon/48x48/situare.png
99     INSTALLS += icon48
100     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
101     icon64.files += ../res/icon/64x64/situare.png
102     INSTALLS += icon64
103     target.path = $$BINDIR
104     INSTALLS += target
105 }
106 RESOURCES +=