34
|
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 |
include(buildflags.pri)
|
|
18 |
|
|
19 |
TEMPLATE = lib
|
|
20 |
TARGET = fmradiohswidget
|
|
21 |
CONFIG += plugin
|
|
22 |
CONFIG += hb
|
|
23 |
CONFIG += mobility
|
|
24 |
MOBILITY = serviceframework
|
|
25 |
|
|
26 |
LIBS += -lxqsettingsmanager
|
|
27 |
LIBS += -lxqservice
|
|
28 |
LIBS += -lxqserviceutil
|
|
29 |
|
|
30 |
HEADERS += ./inc/*.h
|
|
31 |
SOURCES += ./src/*.cpp
|
|
32 |
SOURCES += ../common/radiologger.cpp
|
|
33 |
|
|
34 |
INCLUDEPATH += ./inc
|
|
35 |
INCLUDEPATH += ../common
|
|
36 |
|
|
37 |
UID = 2002E6D6
|
|
38 |
|
|
39 |
RESOURCES = resources.qrc
|
|
40 |
|
|
41 |
symbian: {
|
|
42 |
|
|
43 |
DESTDIR = /private/20022F35/import/widgetregistry/$${UID}
|
|
44 |
|
|
45 |
TARGET.UID3 = 0x$${UID}
|
|
46 |
TARGET.EPOCALLOWDLLDATA=1
|
|
47 |
TARGET.VID = VID_DEFAULT
|
|
48 |
TARGET.CAPABILITY = CAP_GENERAL_DLL
|
|
49 |
|
|
50 |
plugins.path = $${DESTDIR}
|
|
51 |
plugins.sources = $${TARGET}.dll
|
|
52 |
|
|
53 |
widgetResources.path = $${DESTDIR}
|
|
54 |
widgetResources.sources += resource/$${TARGET}.xml
|
|
55 |
widgetResources.sources += resource/$${TARGET}.manifest
|
|
56 |
|
|
57 |
localisedFiles.path = /resource/qt/translations
|
|
58 |
localisedFiles.sources += ./locales/*.qm
|
|
59 |
|
|
60 |
DEPLOYMENT += plugins
|
|
61 |
DEPLOYMENT += widgetResources
|
|
62 |
DEPLOYMENT += localisedFiles
|
|
63 |
|
|
64 |
MMP_RULES += SMPSAFE
|
|
65 |
|
|
66 |
include(radiohswidget_exports_to_rom.pri)
|
|
67 |
}
|
|
68 |
|
|
69 |
win32: {
|
|
70 |
|
|
71 |
CONFIG(debug, debug|release) {
|
|
72 |
SUBDIRPART = debug
|
|
73 |
} else {
|
|
74 |
SUBDIRPART = release
|
|
75 |
}
|
|
76 |
|
|
77 |
PLUGIN_SUBDIR = /hsresources/import/widgetregistry/$${UID}
|
|
78 |
|
|
79 |
DESTDIR = $$PWD/../../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR}
|
|
80 |
|
|
81 |
manifest.path = $${DESTDIR}
|
|
82 |
manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.css
|
|
83 |
|
|
84 |
widgetLocalisation.path = $$PWD/../../../../../bin/$${SUBDIRPART}/resource/qt/translations
|
|
85 |
widgetLocalisation.files += ./locales/*.qm
|
|
86 |
|
|
87 |
INSTALLS += manifest
|
|
88 |
}
|
|
89 |
|