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: Software Install Framework (SIF) device dialogs plugin. |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 TARGET = sifuidevicedialogplugin |
|
19 CONFIG += hb plugin |
|
20 TRANSLATIONS = sifuidevicedialogplugin.ts |
|
21 |
|
22 INCLUDEPATH += . |
|
23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
24 INCLUDEPATH += ../sifuiinstallindicatorplugin/inc |
|
25 DEPENDPATH += . |
|
26 |
|
27 LIBS += -lQtPublishSubscribe -lQtSystemInfo |
|
28 |
|
29 HEADERS += inc/sifuidevicedialogplugin.h \ |
|
30 inc/sifuidialogdefinitions.h \ |
|
31 inc/sifuidialog.h \ |
|
32 inc/sifuidialogtitlewidget.h \ |
|
33 inc/sifuidialogcontentwidget.h \ |
|
34 inc/sifuidialogcertificateinfo.h \ |
|
35 inc/sifuidialogcertificatedetails.h \ |
|
36 inc/sifuidialoggrantcapabilities.h \ |
|
37 inc/sifuidialoggrantcapabilitiescontent.h \ |
|
38 inc/sifuidialogselectlanguage.h |
|
39 |
|
40 SOURCES += src/sifuidevicedialogplugin.cpp \ |
|
41 src/sifuidialog.cpp \ |
|
42 src/sifuidialogtitlewidget.cpp \ |
|
43 src/sifuidialogcontentwidget.cpp \ |
|
44 src/sifuidialogcertificateinfo.cpp \ |
|
45 src/sifuidialogcertificatedetails.cpp \ |
|
46 src/sifuidialoggrantcapabilities.cpp \ |
|
47 src/sifuidialoggrantcapabilitiescontent.cpp \ |
|
48 src/sifuidialogselectlanguage.cpp |
|
49 |
|
50 symbian: { |
|
51 TARGET.EPOCALLOWDLLDATA = 1 |
|
52 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
53 TARGET.UID3 = 0x2002C3AC |
|
54 |
|
55 SOURCES += src/sifuidialogtitlewidget_symbian.cpp \ |
|
56 src/sifuidialogselectlanguage_symbian.cpp \ |
|
57 src/sifuidialogselectoptions_symbian.cpp |
|
58 |
|
59 pluginstub.sources = sifuidevicedialogplugin.dll |
|
60 pluginstub.path = /resource/plugins/devicedialogs |
|
61 DEPLOYMENT += pluginstub |
|
62 |
|
63 crmlFiles.sources = sifuidevicedialogplugin.qcrml |
|
64 crmlFiles.path = /resource/qt/crml |
|
65 DEPLOYMENT += crmlFiles |
|
66 |
|
67 LIBS += -lfbscli -lPlatformEnv -lestor |
|
68 } |
|
69 |
|
70 BLD_INF_RULES.prj_exports += \ |
|
71 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
72 "qmakepluginstubs/sifuidevicedialogplugin.qtplugin /epoc32/data/z/pluginstub/sifuidevicedialogplugin.qtplugin" \ |
|
73 "inc/sifuidialogdefinitions.h MW_LAYER_PLATFORM_EXPORT_PATH(sifuidialogdefinitions.h)" \ |
|
74 "rom/sifuidevicedialogplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(sifuidevicedialogplugin.iby)" \ |
|
75 "rom/sifuidevicedialogplugin_resources.iby LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(sifuidevicedialogplugin_resources.iby)" |
|
76 |
|
77 LIBS += -lxqservice |
|
78 |
|
79 tests { |
|
80 test.depends = sub-src |
|
81 test.commands += cd tsrc && $(MAKE) test |
|
82 autotest.depends = sub-src |
|
83 autotest.commands += cd tsrc && $(MAKE) autotest |
|
84 QMAKE_EXTRA_TARGETS += test autotest |
|
85 } |
|