29
|
1 |
#
|
|
2 |
# Copyright (c) 2009 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:
|
|
15 |
#
|
|
16 |
|
|
17 |
TEMPLATE = lib
|
|
18 |
TARGET = btcpplugin
|
|
19 |
DEPENDPATH += .
|
|
20 |
INCLUDEPATH += . ../inc/
|
|
21 |
|
|
22 |
|
|
23 |
CONFIG += qt hb plugin
|
|
24 |
LIBS += -lcpframework -lbtuimodel -lbtuidelegate
|
|
25 |
|
|
26 |
MOC_DIR = moc
|
|
27 |
OBJECTS_DIR = obj
|
|
28 |
|
|
29 |
#TRANSLATIONS = telephone_cp.ts
|
|
30 |
RESOURCES += btcpplugin.qrc
|
|
31 |
|
|
32 |
# Input
|
|
33 |
HEADERS += btcpplugin.h \
|
|
34 |
btcpuibaseview.h \
|
|
35 |
btcpuimainview.h \
|
|
36 |
btcpuisearchview.h \
|
31
|
37 |
btcpuideviceview.h \
|
|
38 |
btcpuisettingitem.h \
|
|
39 |
btuiviewutil.h
|
29
|
40 |
|
|
41 |
SOURCES += btcpplugin.cpp \
|
|
42 |
btcpuibaseview.cpp \
|
|
43 |
btcpuimainview.cpp \
|
|
44 |
btcpuisearchview.cpp \
|
31
|
45 |
btcpuideviceview.cpp \
|
29
|
46 |
btcpuisettingitem.cpp
|
|
47 |
|
|
48 |
symbian: {
|
|
49 |
DEFINES += PLUGINUID3=0x2002434E
|
|
50 |
TARGET.UID3 = 0x2002434E
|
|
51 |
TARGET.CAPABILITY = ALL -TCB
|
|
52 |
|
|
53 |
TARGET.EPOCALLOWDLLDATA = 1
|
|
54 |
INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
|
|
55 |
|
|
56 |
PLUGIN_STUB_PATH = /resource/qt/plugins/controlpanel
|
|
57 |
|
|
58 |
deploy.path = C:
|
|
59 |
pluginstub.sources = $${TARGET}.dll
|
|
60 |
pluginstub.path = $$PLUGIN_STUB_PATH
|
|
61 |
DEPLOYMENT += pluginstub
|
|
62 |
|
|
63 |
qtplugins.path = $$PLUGIN_STUB_PATH
|
|
64 |
qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
|
|
65 |
|
|
66 |
for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
|
|
67 |
}
|
|
68 |
|