Couple of more options added to text element.
[jspeed] / jspeed.pro
1 QT += maemo5 xml
2 TARGET = jspeed
3 TEMPLATE = app
4 SOURCES += src/main.cpp \ 
5            src/mainwindow.cpp \
6            src/mainwindowstack.cpp \
7            src/location.cpp \
8            src/graphicsscreen.cpp \
9            src/abstractscreen.cpp \
10            src/widgetscreen.cpp \
11            src/toolbaritem.cpp \
12            src/reader.cpp \
13            src/zipreader.cpp \
14            src/filereader.cpp \
15            src/graphicselement.cpp \
16            src/textelement.cpp \
17            src/imageelement.cpp \
18            src/rectangle.cpp \
19            src/pointer.cpp \
20            src/odometer.cpp \
21            src/theme.cpp \
22            src/themescreen.cpp \
23            src/settings.cpp \
24            src/detailwidget.cpp \
25            src/detailscreen.cpp \
26            src/graphicsscene.cpp \
27            src/mainmenu.cpp \
28            src/buttonselector.cpp \
29            src/themeselector.cpp \
30            src/unitselector.cpp \
31            src/effect.cpp \
32            src/blureffect.cpp \
33            src/opacityeffect.cpp \
34            src/dropshadoweffect.cpp
35 HEADERS += src/mainwindow.h \
36            src/mainwindowstack.h \
37            src/location.h \
38            src/graphicsscreen.h \
39            src/abstractscreen.h \
40            src/widgetscreen.h \
41            src/toolbaritem.h \
42            src/reader.h \
43            src/zipreader.h \
44            src/filereader.h \
45            src/graphicselement.h \
46            src/textelement.h \
47            src/imageelement.h \
48            src/rectangle.h \
49            src/pointer.h \
50            src/odometer.h \
51            src/theme.h \
52            src/themescreen.h \
53            src/settings.h \
54            src/detailwidget.h \
55            src/detailscreen.h \
56            src/graphicsscene.h \
57            src/mainmenu.h \
58            src/buttonselector.h \
59            src/themeselector.h \
60            src/unitselector.h \
61            src/effect.h \
62            src/blureffect.h \
63            src/opacityeffect.h \
64            src/dropshadoweffect.h
65 RESOURCES = src/resources.qrc
66 CONFIG += link_pkgconfig
67 PKGCONFIG += liblocation libzip
68
69 unix {
70   #VARIABLES
71   isEmpty(PREFIX) {
72     PREFIX = /usr
73   }
74
75   BINDIR = $$PREFIX/bin
76   DATADIR =$$PREFIX/share
77
78   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
79
80   #MAKE INSTALL
81
82   INSTALLS += target desktop icon26 icon48 icon64
83
84   target.path =$$BINDIR
85
86   desktop.path = $$DATADIR/applications/hildon
87   desktop.files += src/data/$${TARGET}.desktop
88
89   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
90   icon26.files += src/data/26x26/$${TARGET}.png
91
92   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
93   icon48.files += src/data/48x48/$${TARGET}.png
94
95   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
96   icon64.files += src/data/64x64/$${TARGET}.png
97 }