Sound installs, desktopfile works, icon is there
[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
23 HEADERS  += kitchenalertmainwindow.h \
24     createtimersequencedialog.h \
25     timer.h \
26     currentalertstablemodel.h \
27     alertsound.h \
28     selectsounddialog.h
29
30 FORMS    += kitchenalertmainwindow.ui \
31     createtimersequencedialog.ui \
32     selectsounddialog.ui \
33     kitchenalertmainwindow.ui
34
35
36 symbian {
37     TARGET.UID3 = 0xe1020059
38     # TARGET.CAPABILITY += 
39     TARGET.EPOCSTACKSIZE = 0x14000
40     TARGET.EPOCHEAPSIZE = 0x020000 0x800000
41 }
42
43 RESOURCES += \
44     kitchenalert.qrc
45
46 CONFIG += mobility
47 MOBILITY += multimedia
48
49
50 unix:!symbian {
51     maemo5 {
52         target.path = /opt/usr/bin
53     } else {
54         target.path = /usr/local/bin
55     }
56     INSTALLS += target
57 }
58
59
60 maemo5 {
61
62
63     sound.files = data/DoorbellModifiedFinal.mp3
64     sound.path = /home/opt/KitchenAlert
65     INSTALLS += sound
66 }
67
68 OTHER_FILES += \
69     qtc_packaging/debian_fremantle/README \
70     qtc_packaging/debian_fremantle/kitchenalert.postrm \
71     qtc_packaging/debian_fremantle/kitchenalert.postinst \
72     qtc_packaging/debian_fremantle/kitchenalert.dirs \
73     qtc_packaging/debian_fremantle/copyright \
74     qtc_packaging/debian_fremantle/control \
75     qtc_packaging/debian_fremantle/compat \
76     qtc_packaging/debian_fremantle/changelog \
77     qtc_packaging/debian_fremantle/rules \
78     kitchenalert.png
79
80 maemo5 {
81     desktopfile.files = $${TARGET}.desktop
82     desktopfile.path = /usr/share/applications/hildon
83     INSTALLS += desktopfile
84 }
85
86 maemo5 {
87     icon.files = kitchenalert.png
88     icon.path = /usr/share/icons/hicolor/64x64/apps
89     INSTALLS += icon
90 }