Commit description: Created basic for engine class. Loads from
[situare] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
4 TARGET = ../situare
5 TEMPLATE = app
6 RESOURCES += images.qrc
7 SOURCES += main.cpp \
8     ui/mainwindow.cpp \
9     ui/mapviewscreen.cpp \
10     ui/listviewscreen.cpp \
11     situareservice/situareservice.cpp \
12     cookiehandler/cookiehandler.cpp \
13     facebookservice/facebookcredentials.cpp \
14     facebookservice/facebookauthentication.cpp \
15     map/mapengine.cpp \
16     map/mapview.cpp \
17     map/mapscene.cpp \
18     map/maptile.cpp \
19     map/mapfetcher.cpp \
20     ui/pixmap.cpp \
21     ui/infotab.cpp \
22     ui/updatelocation/updatelocationdialog.cpp \
23     ui/updatelocation/texteditautoresizer.cpp \
24     engine/engine.cpp
25 HEADERS += ui/mainwindow.h \
26     ui/mapviewscreen.h \
27     ui/listviewscreen.h \
28     map/mapengine.h \
29     map/mapview.h \
30     map/mapscene.h \
31     map/maptile.h \
32     map/mapfetcher.h \
33     map/mapcommon.h \
34     ui/pixmap.h \
35     ui/infotab.h \
36     ui/updatelocation/updatelocationdialog.h \
37     ui/updatelocation/texteditautoresizer.h \
38     situareservice/situareservice.h \
39     situareservice/situarecommon.h \
40     cookiehandler/cookiehandler.h \
41     facebookservice/facebookcredentials.h \
42     facebookservice/facebookauthentication.h \
43     facebookservice/facebookcommon.h \
44     ui/engine.h \
45     engine/engine.h
46 QT += network \
47     webkit
48
49 # use don't use OpenGL when building in scratchbox
50 !maemo5 { 
51     QT += opengl
52     message(OpenGL built in)
53     message(Make sure you have OpenGL development headers installed)
54     message(install headers with: sudo apt-get install libgl-dev libglu-dev)
55 }
56
57 # -----------------------------------------------------------------
58 # Debian packetizing additions
59 # -----------------------------------------------------------------
60 unix { 
61     # VARIABLES
62     isEmpty(PREFIX):PREFIX = /usr
63     BINDIR = $$PREFIX/bin
64     DATADIR = $$PREFIX/share
65     DEFINES += DATADIR=\\\"$$DATADIR\\\" \
66         PKGDATADIR=\\\"$$PKGDATADIR\\\"
67     
68     # MAKE INSTALL
69     desktop.path = $$DATADIR/applications/hildon
70     desktop.files += situare.desktop
71     INSTALLS += desktop
72     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
73     icon26.files += situare.png
74     INSTALLS += icon26
75     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
76     icon40.files += situare_40x40.png
77     INSTALLS += icon40
78     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
79     icon64.files += situare_64x64.png
80     INSTALLS += icon64
81     target.path = $$BINDIR
82     INSTALLS += target
83 }
84 RESOURCES +=