Changed some theme files to higher quality versions. Fixed problem with detail screen...
[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/themeloader.cpp \
22            src/themescreen.cpp \
23            src/settings.cpp \
24            src/detailscreen.cpp \
25            src/graphicsscene.cpp \
26            src/mainmenu.cpp \
27            src/buttonselector.cpp \
28            src/themeselector.cpp \
29            src/unitselector.cpp \
30            src/effect.cpp \
31            src/blureffect.cpp \
32            src/opacityeffect.cpp \
33            src/dropshadoweffect.cpp
34 HEADERS += src/mainwindow.h \
35            src/mainwindowstack.h \
36            src/location.h \
37            src/graphicsscreen.h \
38            src/abstractscreen.h \
39            src/widgetscreen.h \
40            src/toolbaritem.h \
41            src/reader.h \
42            src/zipreader.h \
43            src/filereader.h \
44            src/graphicselement.h \
45            src/textelement.h \
46            src/imageelement.h \
47            src/rectangle.h \
48            src/pointer.h \
49            src/odometer.h \
50            src/themeloader.h \
51            src/themescreen.h \
52            src/settings.h \
53            src/detailscreen.h \
54            src/graphicsscene.h \
55            src/mainmenu.h \
56            src/buttonselector.h \
57            src/themeselector.h \
58            src/unitselector.h \
59            src/effect.h \
60            src/blureffect.h \
61            src/opacityeffect.h \
62            src/dropshadoweffect.h
63 RESOURCES = src/resources.qrc
64 CONFIG += link_pkgconfig
65 PKGCONFIG += liblocation libzip
66
67 unix {
68   #VARIABLES
69   isEmpty(PREFIX) {
70     PREFIX = /usr
71   }
72
73   BINDIR = $$PREFIX/bin
74   DATADIR =$$PREFIX/share
75   THEMEDIR = /home/user/.jspeed/themes
76
77   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
78
79   #MAKE INSTALL
80
81   INSTALLS += target desktop themes icon26 icon48 icon64
82
83   target.path =$$BINDIR
84
85   desktop.path = $$DATADIR/applications/hildon
86   desktop.files += src/data/$${TARGET}.desktop
87
88   themes.path = $$THEMEDIR
89   themes.files += src/data/themes/graphical.jspeed \
90                   src/data/themes/white.jspeed
91
92   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
93   icon26.files += src/data/26x26/$${TARGET}.png
94
95   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
96   icon48.files += src/data/48x48/$${TARGET}.png
97
98   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
99   icon64.files += src/data/64x64/$${TARGET}.png
100 }