Updated French 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_fr.ts \
42                $$LANG_PATH/timedsilencer_zh.ts
43
44 RESOURCES = lang.qrc
45
46 DEFINES += QT_NO_DEBUG_OUTPUT
47
48 # INSTALL
49 unix {
50   #VARIABLES
51   isEmpty(PREFIX) {
52     PREFIX = /usr
53   }
54   BINDIR = $$PREFIX/bin
55   DATADIR =$$PREFIX/share
56
57   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
58
59   #MAKE INSTALL
60
61   INSTALLS += target desktop iconxpm icon26 icon48 icon64
62
63   target.path =$$BINDIR
64
65   desktop.path = $$DATADIR/applications/hildon
66   desktop.files += desktop/$${TARGET}.desktop
67
68   iconxpm.path = $$DATADIR/pixmap
69   iconxpm.files += ico/xpm/$${TARGET}.xpm
70
71   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
72   icon26.files += ico/26x26/$${TARGET}.png
73
74   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
75   icon48.files += ico/48x48/$${TARGET}.png
76
77   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
78   icon64.files += ico/64x64/$${TARGET}.png
79 }