|
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 CONFIG += qt hb plugin |
|
23 LIBS += -lcpframework -lbtuimodel -lbtuidelegate |
|
24 |
|
25 MOC_DIR = moc |
|
26 OBJECTS_DIR = obj |
|
27 |
|
28 TRANSLATIONS += btviews.ts \ |
|
29 btdialogs.ts \ |
|
30 btindimenu.ts |
|
31 RESOURCES += btcpplugin.qrc |
|
32 |
|
33 # Input |
|
34 HEADERS += btcpuidevicedetailsview.h\ |
|
35 btcpuimainlistviewitem.h \ |
|
36 btcpuisearchlistviewitem.h \ |
|
37 btcpplugin.h \ |
|
38 btcpuibaseview.h \ |
|
39 btcpuimainview.h \ |
|
40 btcpuisearchview.h \ |
|
41 btcpuideviceview.h \ |
|
42 btcpuisettingitem.h \ |
|
43 btuiviewutil.h \ |
|
44 btcpuidevicedetail.h |
|
45 SOURCES += btcpuidevicedetailsview.cpp \ |
|
46 btcpuimainlistviewitem.cpp \ |
|
47 btcpuisearchlistviewitem.cpp \ |
|
48 btcpplugin.cpp \ |
|
49 btcpuibaseview.cpp \ |
|
50 btcpuimainview.cpp \ |
|
51 btcpuisearchview.cpp \ |
|
52 btcpuideviceview.cpp \ |
|
53 btcpuisettingitem.cpp \ |
|
54 btcpuidevicedetail.cpp |
|
55 symbian: { |
|
56 DEFINES += PLUGINUID3=0x2002434E |
|
57 TARGET.UID3 = 0x2002434E |
|
58 TARGET.CAPABILITY = ALL -TCB |
|
59 |
|
60 TARGET.EPOCALLOWDLLDATA = 1 |
|
61 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
62 |
|
63 LIBS += -lbtdevice \ |
|
64 -lbtdevsettingframework |
|
65 |
|
66 PLUGIN_STUB_PATH = /resource/qt/plugins/controlpanel |
|
67 |
|
68 deploy.path = C: |
|
69 pluginstub.sources = $${TARGET}.dll |
|
70 pluginstub.path = $$PLUGIN_STUB_PATH |
|
71 DEPLOYMENT += pluginstub |
|
72 |
|
73 qtplugins.path = $$PLUGIN_STUB_PATH |
|
74 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
|
75 |
|
76 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
77 } |
|
78 |