|
1 # |
|
2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: Example of home screen widget |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 CONFIG += plugin mobility hb |
|
19 MOBILITY = serviceframework |
|
20 |
|
21 HEADERS += ./inc/*.h |
|
22 SOURCES += ./src/*.cpp |
|
23 |
|
24 INCLUDEPATH += ./inc |
|
25 |
|
26 symbian: { |
|
27 |
|
28 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
29 |
|
30 TARGET.UID3 = 0x20022F80 |
|
31 TARGET.EPOCALLOWDLLDATA=1 |
|
32 TARGET.CAPABILITY = ALL -TCB |
|
33 |
|
34 DESTDIR = /private/20022F35/import/widgetregistry/20022F80 |
|
35 |
|
36 plugins.path = $${DESTDIR} |
|
37 plugins.sources = $${TARGET}.dll |
|
38 |
|
39 widgetResources.path = $${DESTDIR} |
|
40 widgetResources.sources += resource/$${TARGET}.xml |
|
41 widgetResources.sources += resource/$${TARGET}.manifest |
|
42 widgetResources.sources += resource/$${TARGET}.png |
|
43 |
|
44 localisedFiles.path = /resource/qt/translations |
|
45 localisedFiles.sources += ./locales/*.qm |
|
46 |
|
47 DEPLOYMENT += plugins \ |
|
48 widgetResources \ |
|
49 localisedFiles |
|
50 } |
|
51 |
|
52 win32: { |
|
53 |
|
54 CONFIG(debug, debug|release) { |
|
55 SUBDIRPART = debug |
|
56 } else { |
|
57 SUBDIRPART = release |
|
58 } |
|
59 |
|
60 PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F80 |
|
61 |
|
62 DESTDIR = $$PWD/../../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR} |
|
63 |
|
64 manifest.path = $${DESTDIR} |
|
65 manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png |
|
66 |
|
67 widgetLocalisation.path = $$PWD/../../../../../bin/$${SUBDIRPART}/resource/qt/translations |
|
68 widgetLocalisation.files += ./locales/*.qm |
|
69 |
|
70 INSTALLS += manifest widgetLocalisation |
|
71 } |