author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 02 Feb 2010 00:43:10 +0200 | |
changeset 3 | 41300fa6a67c |
parent 0 | 1918ee327afb |
child 4 | 3b1da2848fc7 |
permissions | -rw-r--r-- |
0 | 1 |
# Use subdirs template to suppress generation of unnecessary files |
2 |
TEMPLATE = subdirs |
|
3 |
||
4 |
symbian: { |
|
5 |
load(data_caging_paths) |
|
6 |
||
7 |
SUBDIRS= |
|
8 |
# WARNING: Changing TARGET name will break Symbian SISX upgrade functionality |
|
9 |
# DO NOT TOUCH TARGET VARIABLE IF YOU ARE NOT SURE WHAT YOU ARE DOING |
|
10 |
TARGET = "Qt" |
|
11 |
TARGET.UID3 = 0x2001E61C |
|
12 |
VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION} |
|
13 |
||
14 |
qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main.rsc |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
15 |
qtresources.path = c:$$APP_RESOURCE_DIR |
0 | 16 |
|
17 |
qtlibraries.sources = \ |
|
18 |
QtCore.dll \ |
|
19 |
QtXml.dll \ |
|
20 |
QtGui.dll \ |
|
21 |
QtNetwork.dll \ |
|
22 |
QtTest.dll \ |
|
23 |
QtSql.dll |
|
24 |
||
25 |
qts60plugindeployment = \ |
|
26 |
"IF package(0x1028315F)" \ |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
27 |
" \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \ |
0 | 28 |
"ELSEIF package(0x102752AE)" \ |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
29 |
" \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2.dll\"" \ |
0 | 30 |
"ELSEIF package(0x102032BE)" \ |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
31 |
" \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1.dll\"" \ |
0 | 32 |
"ELSE" \ |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
33 |
" \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \ |
0 | 34 |
"ENDIF" |
35 |
qtlibraries.pkg_postrules += qts60plugindeployment |
|
36 |
||
37 |
sqlitedeployment = \ |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
38 |
"; Deploy sqlite onto phone that does not have it (this should be replaced with embedded sis file when available)" \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
39 |
"IF NOT package(0x2002533b) " \ |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
40 |
"\"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/sqlite3.dll\" - \"c:\\sys\\bin\\sqlite3.dll\"" \ |
0 | 41 |
"ENDIF" |
42 |
qtlibraries.pkg_postrules += sqlitedeployment |
|
43 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
44 |
qtlibraries.path = c:/sys/bin |
0 | 45 |
|
46 |
vendorinfo = \ |
|
47 |
"; Localised Vendor name" \ |
|
48 |
"%{\"Nokia, Qt\"}" \ |
|
49 |
" " \ |
|
50 |
"; Unique Vendor name" \ |
|
51 |
":\"Nokia, Qt\"" \ |
|
52 |
" " |
|
53 |
||
54 |
||
55 |
qtlibraries.pkg_prerules = vendorinfo |
|
56 |
qtlibraries.pkg_prerules += "; Dependencies of Qt libraries" |
|
57 |
||
58 |
# Comment the following dependencies out because it is not needed in MCL |
|
59 |
||
60 |
#qtlibraries.pkg_prerules += "(0x20013851), 1, 5, 1, {\"PIPS Installer\"}" |
|
61 |
#contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) { |
|
62 |
# qtlibraries.pkg_prerules += "(0x200110CB), 1, 5, 1, {\"Open C LIBSSL Common\"}" |
|
63 |
#} |
|
64 |
#contains(CONFIG, stl) { |
|
65 |
# qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}" |
|
66 |
#} |
|
67 |
||
68 |
!contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg.dll |
|
69 |
!contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif.dll |
|
70 |
!contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng.dll |
|
71 |
!contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff.dll |
|
72 |
!contains(QT_CONFIG, no-ico): imageformats_plugins.sources += qico.dll |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
73 |
imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats |
0 | 74 |
|
75 |
codecs_plugins.sources = qcncodecs.dll qjpcodecs.dll qtwcodecs.dll qkrcodecs.dll |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
76 |
codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs |
0 | 77 |
|
78 |
contains(QT_CONFIG, phonon-backend) { |
|
79 |
phonon_backend_plugins.sources += phonon_mmf.dll |
|
80 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
81 |
phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend |
0 | 82 |
DEPLOYMENT += phonon_backend_plugins |
83 |
} |
|
84 |
||
85 |
DEPLOYMENT += qtresources qtlibraries imageformats_plugins codecs_plugins graphicssystems_plugins |
|
86 |
||
87 |
contains(QT_CONFIG, svg): { |
|
88 |
qtlibraries.sources += QtSvg.dll |
|
89 |
imageformats_plugins.sources += qsvg.dll |
|
90 |
iconengines_plugins.sources = qsvgicon.dll |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
91 |
iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines |
0 | 92 |
DEPLOYMENT += iconengines_plugins |
93 |
} |
|
94 |
||
95 |
contains(QT_CONFIG, phonon): { |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
96 |
qtlibraries.sources += phonon.dll |
0 | 97 |
} |
98 |
||
99 |
contains(QT_CONFIG, script): { |
|
100 |
qtlibraries.sources += QtScript.dll |
|
101 |
} |
|
102 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
103 |
contains(QT_CONFIG, xmlpatterns): { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
104 |
qtlibraries.sources += QtXmlPatterns.dll |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
105 |
} |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
106 |
|
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
107 |
contains(QT_CONFIG, declarative): { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
108 |
qtlibraries.sources += QtDeclarative.dll |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
109 |
} |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
110 |
|
0 | 111 |
contains(QT_CONFIG, webkit): { |
112 |
qtlibraries.sources += QtWebKit.dll |
|
113 |
} |
|
114 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
115 |
graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems |
0 | 116 |
contains(QT_CONFIG, openvg) { |
117 |
qtlibraries.sources += QtOpenVG.dll |
|
118 |
graphicssystems_plugins.sources += qvggraphicssystem.dll |
|
119 |
} |
|
120 |
||
121 |
#BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)" |
|
122 |
#:QTP:QTPROD-220: Qt Examples should be exported to tools-layer |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
123 |
#BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)" |
0 | 124 |
} |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
125 |