author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 12 Mar 2010 15:46:37 +0200 | |
branch | RCL_3 |
changeset 5 | d3bac044e0f0 |
parent 4 | 3b1da2848fc7 |
child 7 | 3f74d0d4af4c |
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 = \ |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
38 |
"; Deploy sqlite onto phone that does not have it already" \ |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
39 |
"@\"$$PWD/sqlite3.sis\", (0x2002af5f)" |
0 | 40 |
qtlibraries.pkg_postrules += sqlitedeployment |
41 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
42 |
qtlibraries.path = c:/sys/bin |
0 | 43 |
|
44 |
vendorinfo = \ |
|
45 |
"; Localised Vendor name" \ |
|
46 |
"%{\"Nokia, Qt\"}" \ |
|
47 |
" " \ |
|
48 |
"; Unique Vendor name" \ |
|
49 |
":\"Nokia, Qt\"" \ |
|
50 |
" " |
|
51 |
||
52 |
||
53 |
qtlibraries.pkg_prerules = vendorinfo |
|
54 |
qtlibraries.pkg_prerules += "; Dependencies of Qt libraries" |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
55 |
|
0 | 56 |
# Comment the following dependencies out because it is not needed in MCL |
57 |
||
58 |
#qtlibraries.pkg_prerules += "(0x20013851), 1, 5, 1, {\"PIPS Installer\"}" |
|
59 |
#contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) { |
|
60 |
# qtlibraries.pkg_prerules += "(0x200110CB), 1, 5, 1, {\"Open C LIBSSL Common\"}" |
|
61 |
#} |
|
62 |
#contains(CONFIG, stl) { |
|
63 |
# qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}" |
|
64 |
#} |
|
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
65 |
#qtlibraries.pkg_prerules += "(0x2002af5f), 0, 5, 0, {\"sqlite3\"}" |
0 | 66 |
|
67 |
!contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg.dll |
|
68 |
!contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif.dll |
|
69 |
!contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng.dll |
|
70 |
!contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff.dll |
|
71 |
!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
|
72 |
imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats |
0 | 73 |
|
74 |
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
|
75 |
codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs |
0 | 76 |
|
77 |
contains(QT_CONFIG, phonon-backend) { |
|
78 |
phonon_backend_plugins.sources += phonon_mmf.dll |
|
79 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
80 |
phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend |
0 | 81 |
DEPLOYMENT += phonon_backend_plugins |
82 |
} |
|
83 |
||
5
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
84 |
# Support backup & restore for Qt libraries |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
85 |
qtbackup.sources = backup_registration.xml |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
86 |
qtbackup.path = c:/private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,) |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
87 |
|
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
88 |
DEPLOYMENT += qtresources qtlibraries qtbackup imageformats_plugins codecs_plugins graphicssystems_plugins |
0 | 89 |
|
90 |
contains(QT_CONFIG, svg): { |
|
91 |
qtlibraries.sources += QtSvg.dll |
|
92 |
imageformats_plugins.sources += qsvg.dll |
|
93 |
iconengines_plugins.sources = qsvgicon.dll |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
94 |
iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines |
0 | 95 |
DEPLOYMENT += iconengines_plugins |
96 |
} |
|
97 |
||
98 |
contains(QT_CONFIG, phonon): { |
|
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
99 |
qtlibraries.sources += phonon.dll |
0 | 100 |
} |
101 |
||
102 |
contains(QT_CONFIG, script): { |
|
103 |
qtlibraries.sources += QtScript.dll |
|
104 |
} |
|
105 |
||
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
106 |
contains(QT_CONFIG, xmlpatterns): { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
107 |
qtlibraries.sources += QtXmlPatterns.dll |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
108 |
} |
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 |
contains(QT_CONFIG, declarative): { |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
111 |
qtlibraries.sources += QtDeclarative.dll |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
112 |
} |
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
113 |
|
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
114 |
graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems |
0 | 115 |
contains(QT_CONFIG, openvg) { |
116 |
qtlibraries.sources += QtOpenVG.dll |
|
117 |
graphicssystems_plugins.sources += qvggraphicssystem.dll |
|
118 |
} |
|
119 |
||
5
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
120 |
contains(QT_CONFIG, multimedia) { |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
121 |
qtlibraries.sources += QtMultimedia.dll |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
122 |
} |
d3bac044e0f0
Revision: 201007
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
4
diff
changeset
|
123 |
|
0 | 124 |
#BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)" |
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
125 |
#:QTP:QTPROD-220: Qt Examples should be exported to ROFS3 |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
126 |
#BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)" |
4
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
127 |
PLUGIN_STUBS = $$files(qmakepluginstubs/*) |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
128 |
for(STUB, PLUGIN_STUBS) { |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
129 |
STUB_FILENAME = $$basename(STUB) |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
130 |
BLD_INF_RULES.prj_exports += "qmakepluginstubs/$${STUB_FILENAME} /epoc32/data/qt/qtlibspluginstubs/$${STUB_FILENAME}" |
3b1da2848fc7
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
3
diff
changeset
|
131 |
} |
0 | 132 |
} |
3
41300fa6a67c
Revision: 201003
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
133 |