5 load(data_caging_paths) |
5 load(data_caging_paths) |
6 |
6 |
7 SUBDIRS= |
7 SUBDIRS= |
8 # WARNING: Changing TARGET name will break Symbian SISX upgrade functionality |
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 |
9 # DO NOT TOUCH TARGET VARIABLE IF YOU ARE NOT SURE WHAT YOU ARE DOING |
10 TARGET = "Qt" |
10 TARGET = "Qt$${QT_LIBINFIX}" |
11 TARGET.UID3 = 0x2001E61C |
11 |
|
12 isEmpty(QT_LIBINFIX) { |
|
13 TARGET.UID3 = 0x2001E61C |
|
14 |
|
15 # sqlite3 is expected to be already found on phone if infixed configuration is built. |
|
16 BLD_INF_RULES.prj_exports += \ |
|
17 "sqlite3.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis" \ |
|
18 "sqlite3_selfsigned.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3_selfsigned.sis" |
|
19 sqlitedeployment = \ |
|
20 "; Deploy sqlite onto phone that does not have it already" \ |
|
21 "@\"$${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis\", (0x2002af5f)" |
|
22 qtlibraries.pkg_postrules += sqlitedeployment |
|
23 } else { |
|
24 # Always use experimental UID for infixed configuration to avoid UID clash |
|
25 TARGET.UID3 = 0xE001E61C |
|
26 } |
12 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION} |
27 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION} |
13 |
28 |
14 qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main.rsc |
29 qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main$${QT_LIBINFIX}.rsc |
15 qtresources.path = c:$$APP_RESOURCE_DIR |
30 qtresources.path = c:$$APP_RESOURCE_DIR |
|
31 DEPLOYMENT += qtresources |
16 |
32 |
17 qtlibraries.sources = \ |
33 qtlibraries.sources = \ |
18 QtCore.dll \ |
34 QtCore$${QT_LIBINFIX}.dll \ |
19 QtXml.dll \ |
35 QtXml$${QT_LIBINFIX}.dll \ |
20 QtGui.dll \ |
36 QtGui$${QT_LIBINFIX}.dll \ |
21 QtNetwork.dll \ |
37 QtNetwork$${QT_LIBINFIX}.dll \ |
22 QtTest.dll \ |
38 QtTest$${QT_LIBINFIX}.dll \ |
23 QtSql.dll |
39 QtSql$${QT_LIBINFIX}.dll |
24 |
40 |
25 qts60plugindeployment = \ |
41 qts60plugindeployment = \ |
26 "IF package(0x1028315F)" \ |
42 "IF package(0x1028315F)" \ |
27 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \ |
43 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \ |
28 "ELSEIF package(0x102752AE)" \ |
44 "ELSEIF package(0x102752AE)" \ |
29 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2.dll\"" \ |
45 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2$${QT_LIBINFIX}.dll\"" \ |
30 "ELSEIF package(0x102032BE)" \ |
46 "ELSEIF package(0x102032BE)" \ |
31 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1.dll\"" \ |
47 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1$${QT_LIBINFIX}.dll\"" \ |
32 "ELSE" \ |
48 "ELSE" \ |
33 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0.dll\"" \ |
49 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \ |
34 "ENDIF" |
50 "ENDIF" |
35 qtlibraries.pkg_postrules += qts60plugindeployment |
51 qtlibraries.pkg_postrules += qts60plugindeployment |
36 |
52 |
37 sqlitedeployment = \ |
|
38 "; Deploy sqlite onto phone that does not have it (this should be replaced with embedded sis file when available)" \ |
|
39 "IF NOT package(0x2002533b) " \ |
|
40 "\"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/sqlite3.dll\" - \"c:\\sys\\bin\\sqlite3.dll\"" \ |
|
41 "ENDIF" |
|
42 qtlibraries.pkg_postrules += sqlitedeployment |
|
43 |
53 |
44 qtlibraries.path = c:/sys/bin |
54 qtlibraries.path = c:/sys/bin |
45 |
55 |
46 vendorinfo = \ |
56 vendorinfo = \ |
47 "; Localised Vendor name" \ |
57 "; Localised Vendor name" \ |
52 " " |
62 " " |
53 |
63 |
54 |
64 |
55 qtlibraries.pkg_prerules = vendorinfo |
65 qtlibraries.pkg_prerules = vendorinfo |
56 qtlibraries.pkg_prerules += "; Dependencies of Qt libraries" |
66 qtlibraries.pkg_prerules += "; Dependencies of Qt libraries" |
57 |
67 |
58 # Comment the following dependencies out because it is not needed in MCL |
68 # Comment the following dependencies out because it is not needed in MCL |
59 |
69 |
60 #qtlibraries.pkg_prerules += "(0x20013851), 1, 5, 1, {\"PIPS Installer\"}" |
70 #qtlibraries.pkg_prerules += "(0x20013851), 1, 5, 1, {\"PIPS Installer\"}" |
61 #contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) { |
71 #contains(QT_CONFIG, openssl) | contains(QT_CONFIG, openssl-linked) { |
62 # qtlibraries.pkg_prerules += "(0x200110CB), 1, 5, 1, {\"Open C LIBSSL Common\"}" |
72 # qtlibraries.pkg_prerules += "(0x200110CB), 1, 5, 1, {\"Open C LIBSSL Common\"}" |
63 #} |
73 #} |
64 #contains(CONFIG, stl) { |
74 #contains(CONFIG, stl) { |
65 # qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}" |
75 # qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}" |
66 #} |
76 #} |
|
77 #qtlibraries.pkg_prerules += "(0x2002af5f), 0, 5, 0, {\"sqlite3\"}" |
67 |
78 |
68 !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg.dll |
79 !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg$${QT_LIBINFIX}.dll |
69 !contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif.dll |
80 !contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif$${QT_LIBINFIX}.dll |
70 !contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng.dll |
81 !contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng$${QT_LIBINFIX}.dll |
71 !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff.dll |
82 !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff$${QT_LIBINFIX}.dll |
72 !contains(QT_CONFIG, no-ico): imageformats_plugins.sources += qico.dll |
83 !contains(QT_CONFIG, no-ico): imageformats_plugins.sources += qico$${QT_LIBINFIX}.dll |
73 imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats |
84 imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats |
74 |
85 |
75 codecs_plugins.sources = qcncodecs.dll qjpcodecs.dll qtwcodecs.dll qkrcodecs.dll |
86 codecs_plugins.sources = qcncodecs$${QT_LIBINFIX}.dll qjpcodecs$${QT_LIBINFIX}.dll qtwcodecs$${QT_LIBINFIX}.dll qkrcodecs$${QT_LIBINFIX}.dll |
76 codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs |
87 codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs |
77 |
88 |
78 contains(QT_CONFIG, phonon-backend) { |
89 contains(QT_CONFIG, phonon-backend) { |
79 phonon_backend_plugins.sources += phonon_mmf.dll |
90 phonon_backend_plugins.sources += phonon_mmf$${QT_LIBINFIX}.dll |
80 |
91 |
81 phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend |
92 phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend |
82 DEPLOYMENT += phonon_backend_plugins |
93 DEPLOYMENT += phonon_backend_plugins |
83 } |
94 } |
84 |
95 |
85 DEPLOYMENT += qtresources qtlibraries imageformats_plugins codecs_plugins graphicssystems_plugins |
96 # Support backup & restore for Qt libraries |
|
97 qtbackup.sources = backup_registration.xml |
|
98 qtbackup.path = c:/private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,) |
|
99 |
|
100 DEPLOYMENT += qtlibraries qtbackup imageformats_plugins codecs_plugins graphicssystems_plugins |
86 |
101 |
87 contains(QT_CONFIG, svg): { |
102 contains(QT_CONFIG, svg): { |
88 qtlibraries.sources += QtSvg.dll |
103 qtlibraries.sources += QtSvg$${QT_LIBINFIX}.dll |
89 imageformats_plugins.sources += qsvg.dll |
104 imageformats_plugins.sources += qsvg$${QT_LIBINFIX}.dll |
90 iconengines_plugins.sources = qsvgicon.dll |
105 iconengines_plugins.sources = qsvgicon$${QT_LIBINFIX}.dll |
91 iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines |
106 iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines |
92 DEPLOYMENT += iconengines_plugins |
107 DEPLOYMENT += iconengines_plugins |
93 } |
108 } |
94 |
109 |
95 contains(QT_CONFIG, phonon): { |
110 contains(QT_CONFIG, phonon): { |
96 qtlibraries.sources += phonon.dll |
111 qtlibraries.sources += phonon$${QT_LIBINFIX}.dll |
97 } |
112 } |
98 |
113 |
99 contains(QT_CONFIG, script): { |
114 contains(QT_CONFIG, script): { |
100 qtlibraries.sources += QtScript.dll |
115 qtlibraries.sources += QtScript$${QT_LIBINFIX}.dll |
101 } |
116 } |
102 |
117 |
103 contains(QT_CONFIG, xmlpatterns): { |
118 contains(QT_CONFIG, xmlpatterns): { |
104 qtlibraries.sources += QtXmlPatterns.dll |
119 qtlibraries.sources += QtXmlPatterns$${QT_LIBINFIX}.dll |
105 } |
120 } |
106 |
121 |
107 contains(QT_CONFIG, declarative): { |
122 contains(QT_CONFIG, declarative): { |
108 qtlibraries.sources += QtDeclarative.dll |
123 qtlibraries.sources += QtDeclarative$${QT_LIBINFIX}.dll |
109 } |
|
110 |
|
111 contains(QT_CONFIG, webkit): { |
|
112 qtlibraries.sources += QtWebKit.dll |
|
113 } |
124 } |
114 |
125 |
115 graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems |
126 graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems |
116 contains(QT_CONFIG, openvg) { |
127 contains(QT_CONFIG, openvg) { |
117 qtlibraries.sources += QtOpenVG.dll |
128 qtlibraries.sources += QtOpenVG$${QT_LIBINFIX}.dll |
118 graphicssystems_plugins.sources += qvggraphicssystem.dll |
129 graphicssystems_plugins.sources += qvggraphicssystem$${QT_LIBINFIX}.dll |
119 } |
130 } |
120 |
131 |
121 #BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)" |
132 contains(QT_CONFIG, multimedia) { |
122 #:QTP:QTPROD-220: Qt Examples should be exported to tools-layer |
133 qtlibraries.sources += QtMultimedia$${QT_LIBINFIX}.dll |
123 #BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)" |
134 } |
|
135 |
|
136 BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)" |
|
137 BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)" |
124 } |
138 } |
125 |
|