Added new theme. Made detail screen also themable.
[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 HEADERS += src/mainwindow.h \
32            src/mainwindowstack.h \
33            src/location.h \
34            src/graphicsscreen.h \
35            src/abstractscreen.h \
36            src/widgetscreen.h \
37            src/toolbaritem.h \
38            src/reader.h \
39            src/zipreader.h \
40            src/filereader.h \
41            src/graphicselement.h \
42            src/textelement.h \
43            src/imageelement.h \
44            src/rectangle.h \
45            src/pointer.h \
46            src/odometer.h \
47            src/theme.h \
48            src/themescreen.h \
49            src/settings.h \
50            src/detailwidget.h \
51            src/detailscreen.h \
52            src/graphicsscene.h \
53            src/mainmenu.h \
54            src/buttonselector.h \
55            src/themeselector.h \
56            src/unitselector.h
57 RESOURCES = src/resources.qrc
58 CONFIG += link_pkgconfig
59 PKGCONFIG += liblocation libzip
60
61 unix {
62   #VARIABLES
63   isEmpty(PREFIX) {
64     PREFIX = /usr
65   }
66
67   BINDIR = $$PREFIX/bin
68   DATADIR =$$PREFIX/share
69
70   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
71
72   #MAKE INSTALL
73
74   INSTALLS += target desktop icon26 icon48 icon64
75
76   target.path =$$BINDIR
77
78   desktop.path = $$DATADIR/applications/hildon
79   desktop.files += src/data/$${TARGET}.desktop
80
81   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
82   icon26.files += src/data/26x26/$${TARGET}.png
83
84   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
85   icon48.files += src/data/48x48/$${TARGET}.png
86
87   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
88   icon64.files += src/data/64x64/$${TARGET}.png
89 }