Merge branch 'qtcreatorpackaging'
[kitchenalert] / src / kitchenalert.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-05-25T15:17:43
4 #
5 #-------------------------------------------------
6
7 QT       += core gui
8
9
10
11 TARGET = KitchenAlert
12 TEMPLATE = app
13
14
15 SOURCES += main.cpp\
16         kitchenalertmainwindow.cpp \
17     createtimersequencedialog.cpp \
18     timer.cpp \
19     currentalertstablemodel.cpp \
20     alertsound.cpp \
21     selectsounddialog.cpp \
22     stickydialog.cpp
23
24 HEADERS  += kitchenalertmainwindow.h \
25     createtimersequencedialog.h \
26     timer.h \
27     currentalertstablemodel.h \
28     alertsound.h \
29     selectsounddialog.h \
30     stickydialog.h
31
32 FORMS    += kitchenalertmainwindow.ui \
33     createtimersequencedialog.ui \
34     selectsounddialog.ui \
35     kitchenalertmainwindow.ui
36
37
38 symbian {
39     TARGET.UID3 = 0xe1020059
40     # TARGET.CAPABILITY += 
41     TARGET.EPOCSTACKSIZE = 0x14000
42     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
43 }
44
45 RESOURCES += \
46     kitchenalert.qrc
47
48 CONFIG += mobility
49 MOBILITY += multimedia
50
51
52 unix:!symbian {
53     maemo5 {
54         target.path = /opt/usr/bin
55     } else {
56         target.path = /usr/local/bin
57     }
58     INSTALLS += target
59 }
60
61
62 maemo5 {
63
64
65     sound.files = data/DoorbellModifiedFinal.mp3
66     sound.path = /home/opt/KitchenAlert
67     INSTALLS += sound
68 }
69
70 OTHER_FILES += \
71     qtc_packaging/debian_fremantle/README \
72     qtc_packaging/debian_fremantle/kitchenalert.postrm \
73     qtc_packaging/debian_fremantle/kitchenalert.postinst \
74     qtc_packaging/debian_fremantle/kitchenalert.dirs \
75     qtc_packaging/debian_fremantle/copyright \
76     qtc_packaging/debian_fremantle/control \
77     qtc_packaging/debian_fremantle/compat \
78     qtc_packaging/debian_fremantle/changelog \
79     qtc_packaging/debian_fremantle/rules \
80     kitchenalert.png
81
82 maemo5 {
83     desktopfile.files = $${TARGET}.desktop
84     desktopfile.path = /usr/share/applications/hildon
85     INSTALLS += desktopfile
86 }
87
88 maemo5 {
89     icon.files = kitchenalert.png
90     icon.path = /usr/share/icons/hicolor/64x64/apps
91     INSTALLS += icon
92 }
93
94 OTHER_FILES += \
95     qtc_packaging/debian_fremantle/rules \
96     qtc_packaging/debian_fremantle/README \
97     qtc_packaging/debian_fremantle/copyright \
98     qtc_packaging/debian_fremantle/control \
99     qtc_packaging/debian_fremantle/compat \
100     qtc_packaging/debian_fremantle/changelog