equal
deleted
inserted
replaced
12 # Contributors: |
12 # Contributors: |
13 # |
13 # |
14 # Description: Example of home screen widget |
14 # Description: Example of home screen widget |
15 # |
15 # |
16 |
16 |
17 TEMPLATE = subdirs |
17 TEMPLATE = lib |
18 SUBDIRS = helloworldwidgetplugin \ |
18 CONFIG += plugin mobility hb |
19 helloworldwidgetplugininstaller |
19 MOBILITY = serviceframework |
|
20 |
|
21 HEADERS += ./inc/*.h |
|
22 SOURCES += ./src/*.cpp |
|
23 |
|
24 INCLUDEPATH += ./inc |
|
25 |
|
26 symbian: { |
|
27 |
|
28 DESTDIR = /private/20022F35/import/widgetregistry/20022F7E |
|
29 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
30 |
|
31 TARGET.UID3 = 0x20022F7E |
|
32 TARGET.EPOCALLOWDLLDATA=1 |
|
33 TARGET.CAPABILITY = ALL -TCB |
|
34 |
|
35 plugins.path = $${DESTDIR} |
|
36 plugins.sources = $${TARGET}.dll |
|
37 |
|
38 widgetResources.path = $${DESTDIR} |
|
39 widgetResources.sources += resource/$${TARGET}.xml |
|
40 widgetResources.sources += resource/$${TARGET}.manifest |
|
41 widgetResources.sources += resource/$${TARGET}.png |
|
42 |
|
43 DEPLOYMENT += plugins \ |
|
44 widgetResources |
|
45 } |
|
46 |
|
47 win32: { |
|
48 |
|
49 CONFIG(debug, debug|release) { |
|
50 SUBDIRPART = debug |
|
51 } else { |
|
52 SUBDIRPART = release |
|
53 } |
|
54 |
|
55 PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F7E |
|
56 |
|
57 DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR} |
|
58 |
|
59 manifest.path = $${DESTDIR} |
|
60 manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png |
|
61 |
|
62 INSTALLS += manifest |
|
63 |
|
64 } |