|
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 \ |
|
37 btcpuisettingitem.h |
|
38 |
|
39 SOURCES += btcpplugin.cpp \ |
|
40 btcpuibaseview.cpp \ |
|
41 btcpuimainview.cpp \ |
|
42 btcpuisearchview.cpp \ |
|
43 btcpuisettingitem.cpp |
|
44 |
|
45 symbian: { |
|
46 DEFINES += PLUGINUID3=0x2002434E |
|
47 TARGET.UID3 = 0x2002434E |
|
48 TARGET.CAPABILITY = ALL -TCB |
|
49 |
|
50 TARGET.EPOCALLOWDLLDATA = 1 |
|
51 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
52 |
|
53 PLUGIN_STUB_PATH = /resource/qt/plugins/controlpanel |
|
54 |
|
55 deploy.path = C: |
|
56 pluginstub.sources = $${TARGET}.dll |
|
57 pluginstub.path = $$PLUGIN_STUB_PATH |
|
58 DEPLOYMENT += pluginstub |
|
59 |
|
60 qtplugins.path = $$PLUGIN_STUB_PATH |
|
61 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
|
62 |
|
63 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
64 } |
|
65 |