13 # |
13 # |
14 # Music Player home screen widget |
14 # Music Player home screen widget |
15 # |
15 # |
16 |
16 |
17 TEMPLATE = lib |
17 TEMPLATE = lib |
|
18 TARGET = musicwidgetplugin |
|
19 TRANSLATIONS += musicwidgetplugin.ts |
18 CONFIG += plugin mobility hb |
20 CONFIG += plugin mobility hb |
19 MOBILITY = serviceframework |
21 MOBILITY = serviceframework |
20 |
22 |
21 LIBS += -lxqservice |
23 LIBS += -lxqservice \ |
22 LIBS += -lxqserviceutil |
24 -lxqserviceutil \ |
23 LIBS += -lmpengine |
25 -lmpengine \ |
24 LIBS += -lmpdata |
26 -lmpdata \ |
25 LIBS += -lmpalbumcoverwidget |
27 -lmpalbumcoverwidget \ |
|
28 -lmpapplicationmonitor |
26 |
29 |
27 INCLUDEPATH += ./inc |
30 INCLUDEPATH += inc \ |
28 INCLUDEPATH += ../inc |
31 ../inc |
29 |
32 |
30 HEADERS += ./inc/*.h |
33 HEADERS += inc/musicwidget.h \ |
31 SOURCES += ./src/*.cpp |
34 inc/musicwidgetdocumentloader.h \ |
|
35 inc/musicwidgetplugin.h |
|
36 |
|
37 SOURCES += src/musicwidget.cpp \ |
|
38 src/musicwidgetdocumentloader.cpp \ |
|
39 src/musicwidgetplugin.cpp |
32 |
40 |
33 |
41 |
34 RESOURCES = resource/musicwidgetui.qrc |
42 RESOURCES = resource/musicwidgetui.qrc |
35 |
43 |
36 UID = 200286FA |
44 UID = 200286FA |
37 |
|
38 symbian:include(./rom/rom.pri) |
|
39 |
45 |
40 symbian: { |
46 symbian: { |
41 |
47 |
42 DESTDIR = $${PRIVATE}/private/20022F35/import/widgetregistry/$${UID} |
48 DESTDIR = $${PRIVATE}/private/20022F35/import/widgetregistry/$${UID} |
43 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
49 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
44 |
50 |
45 TARGET.UID3 = 0x$${UID} |
51 TARGET.UID3 = 0x$${UID} |
46 TARGET.EPOCALLOWDLLDATA=1 |
52 TARGET.EPOCALLOWDLLDATA=1 |
47 TARGET.CAPABILITY = ALL -TCB |
53 TARGET.CAPABILITY = ALL -TCB |
48 #TRANSLATIONS += musicwidgetplugin.ts |
|
49 |
54 |
50 plugins.path = $${DESTDIR} |
55 plugins.path = $${DESTDIR} |
51 plugins.sources = $${TARGET}.dll |
56 plugins.sources = $${TARGET}.dll |
52 |
57 |
53 widgetResources.path = $${DESTDIR} |
58 widgetResources.path = $${DESTDIR} |
54 widgetResources.sources += resource/$${TARGET}.xml |
59 widgetResources.sources += resource/$${TARGET}.xml |
55 widgetResources.sources += resource/$${TARGET}.manifest |
60 widgetResources.sources += resource/$${TARGET}.manifest |
56 widgetResources.sources += resource/musicwidgeticon.png |
|
57 |
61 |
58 DEPLOYMENT += plugins \ |
62 DEPLOYMENT += plugins \ |
59 widgetResources |
63 widgetResources |
60 } |
64 } |
61 |
65 |