Added spanish translation
[timedsilencer] / TimedSilencer.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-06-26T11:35:08
4 #
5 #-------------------------------------------------
6
7 LANG_PATH = lang
8
9 QT       += maemo5 dbus
10
11 LIBS     += -lalarm
12
13 TARGET = timedsilencer
14
15 TEMPLATE = app
16
17
18 SOURCES += main.cpp\
19            mainwindow.cpp \
20     newalarmdlg.cpp \
21     switchingeventlist.cpp \
22     qmaemo5weekdayspickselector.cpp \
23     qmaemo5weekdayspickwidget.cpp \
24     checklistdelegate.cpp \
25     eventlistdelegate.cpp
26
27 HEADERS  += mainwindow.h \
28             alarmd_backend.h \
29             dbus_backend.h \
30             phone_profile.h \
31     newalarmdlg.h \
32     switchingeventlist.h \
33     qmaemo5weekdayspickselector.h \
34     qmaemo5weekdayspickwidget.h \
35     checklistdelegate.h \
36     profileevent.h \
37     eventlistdelegate.h
38
39 # Translations
40 TRANSLATIONS = $$LANG_PATH/timedsilencer_en.ts \
41                $$LANG_PATH/timedsilencer_es.ts \
42                $$LANG_PATH/timedsilencer_fr.ts \
43                $$LANG_PATH/timedsilencer_zh.ts \
44                $$LANG_PATH/timedsilencer_sv.ts
45
46 RESOURCES = lang.qrc
47
48 DEFINES += QT_NO_DEBUG_OUTPUT
49
50 # INSTALL
51 unix {
52   #VARIABLES
53   isEmpty(PREFIX) {
54     PREFIX = /usr
55   }
56   BINDIR = $$PREFIX/bin
57   DATADIR =$$PREFIX/share
58
59   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
60
61   #MAKE INSTALL
62
63   INSTALLS += target desktop iconxpm icon26 icon48 icon64
64
65   target.path =$$BINDIR
66
67   desktop.path = $$DATADIR/applications/hildon
68   desktop.files += desktop/$${TARGET}.desktop
69
70   iconxpm.path = $$DATADIR/pixmap
71   iconxpm.files += ico/xpm/$${TARGET}.xpm
72
73   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
74   icon26.files += ico/26x26/$${TARGET}.png
75
76   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
77   icon48.files += ico/48x48/$${TARGET}.png
78
79   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
80   icon64.files += ico/64x64/$${TARGET}.png
81 }