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: Project definition file for project USB Settings Application |
|
15 # |
|
16 |
|
17 TEMPLATE = app |
|
18 TARGET = usbapplication |
|
19 QT += core \ |
|
20 gui \ |
|
21 xml |
|
22 HEADERS += inc/usbuisettingmodel.h \ |
|
23 inc/usbuimodelactive.h \ |
|
24 inc/usbviewmanager.h \ |
|
25 inc/usbmainview.h |
|
26 SOURCES += src/usbuisettingmodel.cpp \ |
|
27 src/usbuimodelactive.cpp \ |
|
28 src/usbviewmanager.cpp \ |
|
29 src/usbmainview.cpp \ |
|
30 src/main.cpp \ |
|
31 src/usbapplication_reg.rss |
|
32 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
33 LIBS += -lcentralrepository |
|
34 LIBS += -lusbwatcher |
|
35 LIBS += -lxqsettingsmanager |
|
36 LIBS += -lusbman |
|
37 |
|
38 FORMS += |
|
39 RESOURCES += src/usbicons.qrc \ |
|
40 src/usbapplication.qrc |
|
41 CONFIG += qt \ |
|
42 hb |
|
43 |
|
44 symbian: { |
|
45 TARGET.UID3 = 0x2002BCA3 |
|
46 TARGET.CAPABILITY = LocalServices \ |
|
47 WriteDeviceData |
|
48 |
|
49 # for pkg |
|
50 usbuitranslation.sources = src/usbapplication.qm |
|
51 usbuitranslation.path = /resource |
|
52 DEPLOYMENT += usbuitranslation |
|
53 |
|
54 BLD_INF_RULES.prj_exports += "./src/usbapplication.qm z:/resource/qt/translations/usbapplication.qm |
|
55 } |
|
56 |
|
57 # placeholder for creating sis file |
|
58 createsis.commands += ( makesis -v usbapplication.pkg ); \ |
|
59 && \ |
|
60 ( signsis.exe usbapplication.sis usbapplication_signed.sisx Nokia_RnDCert_02.der Nokia_RnDCert_02.key ); \ |
|
61 && \ |
|
62 ( del usbapplication.sis ); |
|
63 QMAKE_EXTRA_TARGETS += createsis |
|
64 |
|
65 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
66 "rom/usbsettings.iby CORE_MW_LAYER_IBY_EXPORT_PATH(usbsettings.iby)" \ |
|
67 "rom/usbsettingsresources.iby LANGUAGE_MW_LAYER_IBY_EXPORT_PATH(usbsettingsresources.iby)" |
|