|
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 # Description: project file for positioing settings plugin |
|
14 # |
|
15 |
|
16 TEMPLATE = lib |
|
17 TARGET = possettingsplugin |
|
18 DEPENDPATH += . |
|
19 INCLUDEPATH += ../inc |
|
20 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
21 |
|
22 CONFIG += hb\ |
|
23 plugin |
|
24 |
|
25 #Uncomment following line to disable logging |
|
26 #DEFINES += QT_NO_DEBUG_OUTPUT |
|
27 |
|
28 MOC_DIR = moc |
|
29 OBJECTS_DIR = obj |
|
30 RCC_DIR = rcc |
|
31 RESOURCES += possettingsplugin.qrc |
|
32 #TRANSLATIONS = lilocationmw.ts |
|
33 |
|
34 # Platforms |
|
35 SYMBIAN_PLATFORMS = WINSCW \ |
|
36 ARMV5 |
|
37 |
|
38 LIBS += -lcpframework \ |
|
39 -lpossettingsengine \ |
|
40 -leposmodset \ |
|
41 -lfeatmgr |
|
42 |
|
43 # Input |
|
44 SOURCES += src/possettingsplugin.cpp \ |
|
45 src/possettingspluginhelper.cpp \ |
|
46 src/possettingspluginhelper_p.cpp \ |
|
47 src/apilogger.cpp |
|
48 |
|
49 HEADERS += inc/possettingsplugin.h \ |
|
50 inc/possettingspluginhelper.h \ |
|
51 inc/possettingspluginhelper_p.h \ |
|
52 inc/apilogger.h |
|
53 |
|
54 symbian { |
|
55 TARGET.EPOCALLOWDLLDATA = 1 |
|
56 DEFINES += PLUGINUID3=0x2002C318 |
|
57 TARGET.UID3 = 0x2002C318 |
|
58 |
|
59 # Add translation files |
|
60 addFiles.sources = translations/possettings.qm |
|
61 addFiles.path = . |
|
62 #DEPLOYMENT += addFiles |
|
63 |
|
64 deploy.path = C: |
|
65 qtplugins.path = /resource/qt/plugins/controlpanel |
|
66 qtplugins.sources += qmakepluginstubs/possettingsplugin.qtplugin |
|
67 # This is for new exporting system coming in garden |
|
68 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
69 } |
|
70 |
|
71 TARGET.CAPABILITY = All -TCB |
|
72 plugin.sources = possettingsplugin.dll |
|
73 plugin.path = \resource\qt\plugins\controlpanel |
|
74 DEPLOYMENT += plugin |
|
75 |
|
76 |
|
77 |