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: Example of home screen widget |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 |
|
19 CONFIG += plugin hb |
|
20 |
|
21 CONFIG(debug, debug|release) { |
|
22 DESTDIR = debug |
|
23 LIBS += -L../../../../bin/debug |
|
24 } |
|
25 else { |
|
26 DESTDIR = release |
|
27 LIBS += -L../../../../bin/release |
|
28 } |
|
29 |
|
30 LIBS += -lhswidgetmodel |
|
31 |
|
32 HEADERS += ./inc/*.h \ |
|
33 ./helloworldwidget/inc/*.h |
|
34 |
|
35 SOURCES += ./src/*.cpp \ |
|
36 ./helloworldwidget/src/*.cpp |
|
37 |
|
38 DEPENDPATH += ./inc \ |
|
39 ./src |
|
40 |
|
41 INCLUDEPATH += ./inc \ |
|
42 ./helloworldwidget/inc |
|
43 |
|
44 |
|
45 symbian: { |
|
46 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
47 |
|
48 # get your own symbian uid |
|
49 TARGET.UID3 = 0xEABCFE12 |
|
50 TARGET.EPOCALLOWDLLDATA=1 |
|
51 TARGET.CAPABILITY = ALL -TCB |
|
52 |
|
53 # add your symbian uid here |
|
54 PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/EABCFE12 |
|
55 |
|
56 pluginstub.sources = $${TARGET}.dll |
|
57 pluginstub.path = $$PLUGIN_SUBDIR |
|
58 |
|
59 DEPLOYMENT += pluginstub |
|
60 |
|
61 qtplugins.path = $$PLUGIN_SUBDIR |
|
62 qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin |
|
63 qtplugins.sources += resource/$${TARGET}.manifest |
|
64 qtplugins.sources += resource/$${TARGET}.png |
|
65 |
|
66 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin z:$$qtplugins.path/$$basename(qtplugin)" |
|
67 } |
|
68 |
|
69 win32 { |
|
70 # add platfrom API for windows |
|
71 INCLUDEPATH += ../../../homescreensrv_plat/hswidgetmodel_api |
|
72 } |
|