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 # Control Panel Destinations & Access points plugin project file |
|
14 |
|
15 TEMPLATE = lib |
|
16 TARGET = cpdestinationplugin |
|
17 DEPENDPATH += . |
|
18 INCLUDEPATH += . |
|
19 CONFIG += hb plugin |
|
20 MOC_DIR = moc |
|
21 OBJECTS_DIR = obj |
|
22 RCC_DIR = rcc |
|
23 LIBS += -lcpframework \ |
|
24 -lconnection_settings_shim |
|
25 symbian*::LIBS += -lcmmanager |
|
26 RESOURCES = res/cpdestinationplugin.qrc |
|
27 |
|
28 DOCML += res/cpdestinationplugindialogs.docml |
|
29 |
|
30 # Sources |
|
31 HEADERS += inc/cpiapitem.h \ |
|
32 inc/cpdestinationplugin.h \ |
|
33 inc/cpdestinationgroup.h \ |
|
34 inc/cpadddestinationentryitemdata.h \ |
|
35 inc/cpdestinationentryitem.h \ |
|
36 traces/OstTraceDefinitions.h |
|
37 SOURCES += src/cpiapitem.cpp \ |
|
38 src/cpadddestinationentryitemdata.cpp \ |
|
39 src/cpdestinationentryitem.cpp \ |
|
40 src/cpdestinationplugin.cpp \ |
|
41 src/cpdestinationgroup.cpp |
|
42 |
|
43 TRANSLATIONS = cpdestinationplugin.ts |
|
44 |
|
45 # Temporary solution to fix tracecompiler |
|
46 # When tracecompiler is fixed, this can be removed |
|
47 symbian: { |
|
48 |
|
49 MMP_RULES += "USERINCLUDE traces" |
|
50 |
|
51 } |
|
52 |
|
53 symbian: |
|
54 { |
|
55 TARGET.EPOCALLOWDLLDATA = 1 |
|
56 TARGET.UID3 = 0x2002BC90 |
|
57 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
58 |
|
59 deploy.path = C: |
|
60 qtplugins.path = /resource/qt/plugins/controlpanel |
|
61 qtplugins.sources += qmakepluginstubs/cpdestinationplugin.qtplugin |
|
62 |
|
63 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
64 BLD_INF_RULES.prj_exports += "rom/cpdestinationplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpdestinationplugin.iby)" |
|
65 BLD_INF_RULES.prj_exports += "rom/cpdestinationplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpdestinationplugin_resources.iby)" |
|
66 } |
|
67 |
|
68 plugin.sources = cpdestinationplugin.dll |
|
69 plugin.path = /resource/qt/plugins/controlpanel |
|
70 DEPLOYMENT += plugin |
|