|
1 # |
|
2 # Copyright (c) 2009 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: tsdevicedialogplugin.pro |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 CONFIG += hb plugin mobility |
|
19 MOBILITY = serviceframework publishsubscribe |
|
20 |
|
21 include (../common.pri) |
|
22 |
|
23 HEADERS += inc/tsdevicedialogcontainer.h \ |
|
24 inc/tsdevicedialogplugin.h \ |
|
25 inc/tsmodel.h \ |
|
26 inc/tsmodelitem.h \ |
|
27 inc/tsentrymodelitem.h \ |
|
28 inc/tsactivitymodelitem.h \ |
|
29 inc/tstasksgrid.h \ |
|
30 inc/tstasksgriditem.h \ |
|
31 inc/tsdocumentloader.h \ |
|
32 inc/tsdataroles.h \ |
|
33 |
|
34 SOURCES += src/tsdevicedialogcontainer.cpp \ |
|
35 src/tsdevicedialogplugin.cpp \ |
|
36 src/tsmodel.cpp \ |
|
37 src/tsentrymodelitem.cpp \ |
|
38 src/tsactivitymodelitem.cpp \ |
|
39 src/tstasksgrid.cpp \ |
|
40 src/tstasksgriditem.cpp \ |
|
41 src/tsdocumentloader.cpp \ |
|
42 |
|
43 INCLUDEPATH += . \ |
|
44 ./inc \ |
|
45 |
|
46 LIBS += -ltstaskmonitorclient |
|
47 |
|
48 TRANSLATIONS = taskswitcher.ts |
|
49 |
|
50 RESOURCES += tsdevicedialogplugin.qrc |
|
51 |
|
52 symbian { |
|
53 TARGET.CAPABILITY = CAP_ECOM_PLUGIN |
|
54 TARGET.UID3 = 0x2002677F |
|
55 pluginstub.sources = tsdevicedialogplugin.dll |
|
56 pluginstub.path = /resource/plugins/devicedialogs |
|
57 |
|
58 LIBS += -lxqsettingsmanager -lapparc -lapgrfx |
|
59 |
|
60 # ugly hack |
|
61 translation.sources = ./*.qm |
|
62 translation.path = $$QT_PLUGINS_BASE_DIR/../translations |
|
63 |
|
64 crml.sources = ./resource/*.qcrml |
|
65 crml.path = /resource/qt/crml |
|
66 |
|
67 DEPLOYMENT += pluginstub translation crml |
|
68 |
|
69 BLD_INF_RULES.prj_exports += \ |
|
70 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
71 "conf/tsdevicedialog.confml APP_LAYER_CONFML(tsdevicedialog.confml)" \ |
|
72 "conf/tsdevicedialog_2002677F.crml APP_LAYER_CRML(tsdevicedialog_2002677F.crml)" |
|
73 } |
|
74 |
|
75 win32 { |
|
76 include ($$[QMAKE_MKSPECS]/features/hb_install.prf) |
|
77 DESTDIR = $$HB_PLUGINS_DIR/devicedialogs |
|
78 } |