1 # |
|
2 # Copyright (c) 2010 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 # Project info file for Control Panel packet data AP plugin. |
|
16 # |
|
17 |
|
18 TEMPLATE = lib |
|
19 TARGET = cppacketdataapplugin |
|
20 DEPENDPATH += . |
|
21 INCLUDEPATH += . |
|
22 |
|
23 # Temporary solution to fix tracecompiler |
|
24 # When tracecompiler is fixed, this can be removed |
|
25 symbian: { |
|
26 MMP_RULES += "USERINCLUDE traces" |
|
27 } |
|
28 |
|
29 CONFIG += hb plugin |
|
30 |
|
31 MOC_DIR = moc |
|
32 OBJECTS_DIR = obj |
|
33 RCC_DIR = rcc |
|
34 |
|
35 LIBS += -lcpframework -lconnection_settings_shim |
|
36 |
|
37 # Sources |
|
38 HEADERS += inc/cppacketdataapplugin.h \ |
|
39 inc/cppacketdataapview.h \ |
|
40 inc/cppacketdataapadvancedview.h \ |
|
41 traces/OstTraceDefinitions.h |
|
42 SOURCES += src/cppacketdataapplugin.cpp \ |
|
43 src/cppacketdataapview.cpp \ |
|
44 src/cppacketdataapadvancedview.cpp |
|
45 |
|
46 # Include plugin utilities |
|
47 include(../cppluginutils/cppluginutils.pri) |
|
48 |
|
49 TRANSLATIONS = cpapplugin.ts |
|
50 |
|
51 symbian: |
|
52 { |
|
53 TARGET.EPOCALLOWDLLDATA = 1 |
|
54 TARGET.UID3 = 0x2002E694 |
|
55 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
56 |
|
57 deploy.path = C: |
|
58 qtplugins.path = /resource/qt/plugins/controlpanel/bearerap |
|
59 qtplugins.sources += qmakepluginstubs/cppacketdataapplugin.qtplugin |
|
60 |
|
61 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
62 |
|
63 BLD_INF_RULES.prj_exports += "rom/cppacketdataapplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cppacketdataapplugin.iby)" |
|
64 BLD_INF_RULES.prj_exports += "rom/cppacketdataapplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cppacketdataapplugin_resources.iby)" |
|
65 } |
|
66 |
|
67 plugin.sources = cppacketdataapplugin.dll |
|
68 plugin.path = /resource/qt/plugins/controlpanel/bearerap |
|
69 DEPLOYMENT += plugin |
|