|
1 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # Initial Contributors: |
|
8 # Nokia Corporation - initial contribution. |
|
9 # |
|
10 # Contributors: |
|
11 # |
|
12 # Description: |
|
13 # |
|
14 |
|
15 TEMPLATE = lib |
|
16 TARGET = cpdestinationplugin |
|
17 DEPENDPATH += . |
|
18 INCLUDEPATH += . |
|
19 CONFIG += hb plugin |
|
20 CONFIG += debug |
|
21 MOC_DIR = moc |
|
22 OBJECTS_DIR = obj |
|
23 RCC_DIR = rcc |
|
24 LIBS += -lcpframework \ |
|
25 -lconnection_settings_shim |
|
26 symbian*::LIBS += -lcmmanager |
|
27 RESOURCES = res/cpdestinationplugin.qrc |
|
28 |
|
29 # Sources |
|
30 HEADERS += inc/cpiapitem.h \ |
|
31 inc/cpdestinationplugin.h \ |
|
32 inc/cpdestinationgroup.h \ |
|
33 inc/cpadddestinationentryitemdata.h \ |
|
34 inc/cpdestinationentryitem.h \ |
|
35 traces/OstTraceDefinitions.h |
|
36 SOURCES += src/cpiapitem.cpp \ |
|
37 src/cpadddestinationentryitemdata.cpp \ |
|
38 src/cpdestinationentryitem.cpp \ |
|
39 src/cpdestinationplugin.cpp \ |
|
40 src/cpdestinationgroup.cpp |
|
41 |
|
42 TRANSLATIONS = cpdestinationplugin.ts |
|
43 |
|
44 symbian: |
|
45 { |
|
46 TARGET.EPOCALLOWDLLDATA = 1 |
|
47 TARGET.UID3 = 0x2002BC90 |
|
48 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
49 |
|
50 deploy.path = C: |
|
51 qtplugins.path = /resource/qt/plugins/controlpanel |
|
52 qtplugins.sources += qmakepluginstubs/cpdestinationplugin.qtplugin |
|
53 |
|
54 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
55 BLD_INF_RULES.prj_exports += "rom/cpdestinationplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpdestinationplugin.iby)" |
|
56 BLD_INF_RULES.prj_exports += "rom/cpdestinationplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpdestinationplugin_resources.iby)" |
|
57 } |
|
58 |
|
59 plugin.sources = cpdestinationplugin.dll |
|
60 plugin.path = /resource/qt/plugins/controlpanel |
|
61 DEPLOYMENT += plugin |