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: |
|
15 # |
|
16 # |
|
17 |
|
18 HEADERS += ./inc/infowidgetprovider.h \ |
|
19 ./inc/infowidgetlogging.h \ |
|
20 ./infowidget/inc/infowidget.h \ |
|
21 ./infowidget/inc/infowidgetlayoutmanager.h \ |
|
22 ./infowidget/inc/infowidgetpreferences.h \ |
|
23 ./infowidget/inc/infowidgetengine.h \ |
|
24 ./infowidget/inc/infowidgetsathandlerprivate.h |
|
25 |
|
26 symbian: { |
|
27 HEADERS += ./infowidget/inc/infowidgetnetworkhandler.h \ |
|
28 ./infowidget/inc/infowidgetsathandler.h \ |
|
29 ./infowidget/inc/infowidgetlinehandler.h |
|
30 } |
|
31 SOURCES += infowidget/src/infowidgetsathandlerprivate.cpp \ |
|
32 ./src/infowidgetprovider.cpp \ |
|
33 ./infowidget/src/infowidget.cpp \ |
|
34 ./infowidget/src/infowidgetlayoutmanager.cpp \ |
|
35 ./infowidget/src/infowidgetengine.cpp |
|
36 |
|
37 symbian: { |
|
38 SOURCES += ./infowidget/src/infowidgetpreferences.cpp \ |
|
39 ./infowidget/src/infowidgetnetworkhandler.cpp \ |
|
40 ./infowidget/src/infowidgetsathandler.cpp \ |
|
41 ./infowidget/src/infowidgetlinehandler.cpp |
|
42 } else: { |
|
43 SOURCES += ./infowidget/src/infowidgetengine_s.cpp \ |
|
44 ./infowidget/src/infowidgetpreferences_s.cpp |
|
45 } |
|
46 |
|
47 defineTest(exportResources) { |
|
48 symbian { |
|
49 for(subdirs, 1) { |
|
50 entries = $$files($$subdirs) |
|
51 for(entry, entries) : BLD_INF_RULES.prj_exports += "./$$entry z:/$$replace(2, ^/,)/$$basename(entry)" |
|
52 } |
|
53 export ( BLD_INF_RULES.prj_exports) |
|
54 } |
|
55 } |
|
56 |
|
57 symbian: plugin { # copy qtstub and manifest |
|
58 |
|
59 pluginstub.sources = $${TARGET}.dll |
|
60 pluginstub.path = $$PLUGIN_SUBDIR |
|
61 |
|
62 DEPLOYMENT += pluginstub |
|
63 |
|
64 qtplugins.path = $$PLUGIN_SUBDIR |
|
65 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
|
66 contains(MOBILITY, serviceframework):BLD_INF_RULES.prj_exports += "resource/$${TARGET}.s60xml z:$$qtplugins.path/$${TARGET}.xml" |
|
67 |
|
68 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)" |
|
69 } |
|