63
|
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 |
QT += webkit
|
|
22 |
|
|
23 |
HEADERS += ./inc/*.h
|
|
24 |
SOURCES += ./src/*.cpp
|
|
25 |
|
|
26 |
INCLUDEPATH += ./inc
|
|
27 |
|
|
28 |
symbian: {
|
|
29 |
|
|
30 |
DESTDIR = /private/20022F35/import/widgetregistry/20022F6F
|
|
31 |
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
|
|
32 |
|
|
33 |
TARGET.UID3 = 0x20022F6F
|
|
34 |
TARGET.EPOCALLOWDLLDATA=1
|
|
35 |
TARGET.CAPABILITY = ALL -TCB
|
|
36 |
|
|
37 |
plugins.path = $${DESTDIR}
|
|
38 |
plugins.sources = $${TARGET}.dll
|
|
39 |
|
|
40 |
widgetResources.path = $${DESTDIR}
|
|
41 |
widgetResources.sources += resource/$${TARGET}.xml
|
|
42 |
widgetResources.sources += resource/$${TARGET}.manifest
|
|
43 |
widgetResources.sources += resource/$${TARGET}preview.png
|
|
44 |
widgetResources.sources += resource/$${TARGET}.svg
|
|
45 |
|
|
46 |
DEPLOYMENT += plugins \
|
|
47 |
widgetResources
|
|
48 |
}
|
|
49 |
|
|
50 |
win32: {
|
|
51 |
|
|
52 |
CONFIG(debug, debug|release) {
|
|
53 |
SUBDIRPART = debug
|
|
54 |
} else {
|
|
55 |
SUBDIRPART = release
|
|
56 |
}
|
|
57 |
|
|
58 |
PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F6F
|
|
59 |
|
|
60 |
DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR}
|
|
61 |
|
|
62 |
manifest.path = $${DESTDIR}
|
|
63 |
manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png ./resource/*.svg
|
|
64 |
|
|
65 |
INSTALLS += manifest
|
|
66 |
|
|
67 |
}
|