14 |
14 |
15 # sqlite3 is expected to be already found on phone if infixed configuration is built. |
15 # sqlite3 is expected to be already found on phone if infixed configuration is built. |
16 BLD_INF_RULES.prj_exports += \ |
16 BLD_INF_RULES.prj_exports += \ |
17 "sqlite3.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis" \ |
17 "sqlite3.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis" \ |
18 "sqlite3_selfsigned.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3_selfsigned.sis" |
18 "sqlite3_selfsigned.sis $${EPOCROOT}epoc32/data/qt/sis/sqlite3_selfsigned.sis" |
19 sqlitedeployment = \ |
19 symbian-abld|symbian-sbsv2 { |
20 "; Deploy sqlite onto phone that does not have it already" \ |
20 sqlitedeployment = \ |
21 "@\"$${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis\", (0x2002af5f)" |
21 "; Deploy sqlite onto phone that does not have it already" \ |
|
22 "@\"$${EPOCROOT}epoc32/data/qt/sis/sqlite3.sis\", (0x2002af5f)" |
|
23 } else { |
|
24 sqlitedeployment = \ |
|
25 "; Deploy sqlite onto phone that does not have it already" \ |
|
26 "@\"$${PWD}/sqlite3.sis\", (0x2002af5f)" |
|
27 } |
22 qtlibraries.pkg_postrules += sqlitedeployment |
28 qtlibraries.pkg_postrules += sqlitedeployment |
23 } else { |
29 } else { |
24 # Always use experimental UID for infixed configuration to avoid UID clash |
30 # Always use experimental UID for infixed configuration to avoid UID clash |
25 TARGET.UID3 = 0xE001E61C |
31 TARGET.UID3 = 0xE001E61C |
26 } |
32 } |
27 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION} |
33 VERSION=$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION} |
28 |
34 |
29 qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main$${QT_LIBINFIX}.rsc |
35 symbian-abld|symbian-sbsv2 { |
|
36 qtresources.sources = $${EPOCROOT}$$HW_ZDIR$$APP_RESOURCE_DIR/s60main$${QT_LIBINFIX}.rsc |
|
37 } else { |
|
38 qtresources.sources = $$QMAKE_LIBDIR_QT/s60main$${QT_LIBINFIX}.rsc |
|
39 DESTDIR = $$QMAKE_LIBDIR_QT |
|
40 } |
30 qtresources.path = c:$$APP_RESOURCE_DIR |
41 qtresources.path = c:$$APP_RESOURCE_DIR |
31 DEPLOYMENT += qtresources |
42 DEPLOYMENT += qtresources |
32 |
43 |
33 qtlibraries.sources = \ |
44 qtlibraries.sources = \ |
34 QtCore$${QT_LIBINFIX}.dll \ |
45 $$QMAKE_LIBDIR_QT/QtCore$${QT_LIBINFIX}.dll \ |
35 QtXml$${QT_LIBINFIX}.dll \ |
46 $$QMAKE_LIBDIR_QT/QtXml$${QT_LIBINFIX}.dll \ |
36 QtGui$${QT_LIBINFIX}.dll \ |
47 $$QMAKE_LIBDIR_QT/QtGui$${QT_LIBINFIX}.dll \ |
37 QtNetwork$${QT_LIBINFIX}.dll \ |
48 $$QMAKE_LIBDIR_QT/QtNetwork$${QT_LIBINFIX}.dll \ |
38 QtTest$${QT_LIBINFIX}.dll \ |
49 $$QMAKE_LIBDIR_QT/QtTest$${QT_LIBINFIX}.dll \ |
39 QtSql$${QT_LIBINFIX}.dll |
50 $$QMAKE_LIBDIR_QT/QtSql$${QT_LIBINFIX}.dll |
|
51 |
|
52 symbian-abld|symbian-sbsv2 { |
|
53 pluginLocations = $${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET) |
|
54 } else { |
|
55 pluginLocations = $$QT_BUILD_TREE/plugins/s60 |
|
56 } |
40 |
57 |
41 qts60plugindeployment = \ |
58 qts60plugindeployment = \ |
42 "IF package(0x1028315F)" \ |
59 "IF package(0x1028315F)" \ |
43 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \ |
60 " \"$$pluginLocations/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \ |
44 "ELSEIF package(0x102752AE)" \ |
61 "ELSEIF package(0x102752AE)" \ |
45 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_2$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2$${QT_LIBINFIX}.dll\"" \ |
62 " \"$$pluginLocations/qts60plugin_3_2$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_2$${QT_LIBINFIX}.dll\"" \ |
46 "ELSEIF package(0x102032BE)" \ |
63 "ELSEIF package(0x102032BE)" \ |
47 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_3_1$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1$${QT_LIBINFIX}.dll\"" \ |
64 " \"$$pluginLocations/qts60plugin_3_1$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_3_1$${QT_LIBINFIX}.dll\"" \ |
48 "ELSE" \ |
65 "ELSE" \ |
49 " \"$${EPOCROOT}epoc32/release/$(PLATFORM)/$(TARGET)/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \ |
66 " \"$$pluginLocations/qts60plugin_5_0$${QT_LIBINFIX}.dll\" - \"c:\\sys\\bin\\qts60plugin_5_0$${QT_LIBINFIX}.dll\"" \ |
50 "ENDIF" |
67 "ENDIF" |
51 qtlibraries.pkg_postrules += qts60plugindeployment |
68 qtlibraries.pkg_postrules += qts60plugindeployment |
52 |
69 |
53 |
70 |
54 qtlibraries.path = c:/sys/bin |
71 qtlibraries.path = c:/sys/bin |
71 contains(CONFIG, stl) { |
88 contains(CONFIG, stl) { |
72 qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}" |
89 qtlibraries.pkg_prerules += "(0x2000F866), 1, 0, 0, {\"Standard C++ Library Common\"}" |
73 } |
90 } |
74 qtlibraries.pkg_prerules += "(0x2002af5f), 0, 5, 0, {\"sqlite3\"}" |
91 qtlibraries.pkg_prerules += "(0x2002af5f), 0, 5, 0, {\"sqlite3\"}" |
75 |
92 |
76 !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += qjpeg$${QT_LIBINFIX}.dll |
93 !contains(QT_CONFIG, no-jpeg): imageformats_plugins.sources += $$QT_BUILD_TREE/plugins/imageformats/qjpeg$${QT_LIBINFIX}.dll |
77 !contains(QT_CONFIG, no-gif): imageformats_plugins.sources += qgif$${QT_LIBINFIX}.dll |
94 !contains(QT_CONFIG, no-gif): imageformats_plugins.sources += $$QT_BUILD_TREE/plugins/imageformats/qgif$${QT_LIBINFIX}.dll |
78 !contains(QT_CONFIG, no-mng): imageformats_plugins.sources += qmng$${QT_LIBINFIX}.dll |
95 !contains(QT_CONFIG, no-mng): imageformats_plugins.sources += $$QT_BUILD_TREE/plugins/imageformats/qmng$${QT_LIBINFIX}.dll |
79 !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += qtiff$${QT_LIBINFIX}.dll |
96 !contains(QT_CONFIG, no-tiff): imageformats_plugins.sources += $$QT_BUILD_TREE/plugins/imageformats/qtiff$${QT_LIBINFIX}.dll |
80 !contains(QT_CONFIG, no-ico): imageformats_plugins.sources += qico$${QT_LIBINFIX}.dll |
97 !contains(QT_CONFIG, no-ico): imageformats_plugins.sources += $$QT_BUILD_TREE/plugins/imageformats/qico$${QT_LIBINFIX}.dll |
81 imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats |
98 imageformats_plugins.path = c:$$QT_PLUGINS_BASE_DIR/imageformats |
82 |
99 |
83 codecs_plugins.sources = qcncodecs$${QT_LIBINFIX}.dll qjpcodecs$${QT_LIBINFIX}.dll qtwcodecs$${QT_LIBINFIX}.dll qkrcodecs$${QT_LIBINFIX}.dll |
100 codecs_plugins.sources = $$QT_BUILD_TREE/plugins/codecs/qcncodecs$${QT_LIBINFIX}.dll $$QT_BUILD_TREE/plugins/codecs/qjpcodecs$${QT_LIBINFIX}.dll $$QT_BUILD_TREE/plugins/codecs/qtwcodecs$${QT_LIBINFIX}.dll $$QT_BUILD_TREE/plugins/codecs/qkrcodecs$${QT_LIBINFIX}.dll |
84 codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs |
101 codecs_plugins.path = c:$$QT_PLUGINS_BASE_DIR/codecs |
85 |
102 |
86 contains(QT_CONFIG, phonon-backend) { |
103 contains(QT_CONFIG, phonon-backend) { |
87 phonon_backend_plugins.sources += phonon_mmf$${QT_LIBINFIX}.dll |
104 phonon_backend_plugins.sources += $$QMAKE_LIBDIR_QT/phonon_mmf$${QT_LIBINFIX}.dll |
88 |
105 |
89 phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend |
106 phonon_backend_plugins.path = c:$$QT_PLUGINS_BASE_DIR/phonon_backend |
90 DEPLOYMENT += phonon_backend_plugins |
107 DEPLOYMENT += phonon_backend_plugins |
91 } |
108 } |
92 |
109 |
93 # Support backup & restore for Qt libraries |
110 # Support backup & restore for Qt libraries |
94 qtbackup.sources = backup_registration.xml |
111 qtbackup.sources = backup_registration.xml |
95 qtbackup.path = c:/private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,) |
112 qtbackup.path = c:/private/10202D56/import/packages/$$replace(TARGET.UID3, 0x,) |
96 |
113 |
97 DEPLOYMENT += qtlibraries qtbackup imageformats_plugins codecs_plugins graphicssystems_plugins |
114 bearer_plugins.path = c:$$QT_PLUGINS_BASE_DIR/bearer |
|
115 bearer_plugins.sources += $$QT_BUILD_TREE/plugins/bearer/qsymbianbearer$${QT_LIBINFIX}.dll |
|
116 |
|
117 DEPLOYMENT += qtlibraries \ |
|
118 qtbackup \ |
|
119 imageformats_plugins \ |
|
120 codecs_plugins \ |
|
121 graphicssystems_plugins \ |
|
122 bearer_plugins |
98 |
123 |
99 contains(QT_CONFIG, svg): { |
124 contains(QT_CONFIG, svg): { |
100 qtlibraries.sources += QtSvg$${QT_LIBINFIX}.dll |
125 qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtSvg$${QT_LIBINFIX}.dll |
101 imageformats_plugins.sources += qsvg$${QT_LIBINFIX}.dll |
126 imageformats_plugins.sources += $$QT_BUILD_TREE/plugins/imageformats/qsvg$${QT_LIBINFIX}.dll |
102 iconengines_plugins.sources = qsvgicon$${QT_LIBINFIX}.dll |
127 iconengines_plugins.sources = $$QT_BUILD_TREE/plugins/iconengines/qsvgicon$${QT_LIBINFIX}.dll |
103 iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines |
128 iconengines_plugins.path = c:$$QT_PLUGINS_BASE_DIR/iconengines |
104 DEPLOYMENT += iconengines_plugins |
129 DEPLOYMENT += iconengines_plugins |
105 } |
130 } |
106 |
131 |
107 contains(QT_CONFIG, phonon): { |
132 contains(QT_CONFIG, phonon): { |
108 qtlibraries.sources += phonon$${QT_LIBINFIX}.dll |
133 qtlibraries.sources += $$QMAKE_LIBDIR_QT/phonon$${QT_LIBINFIX}.dll |
109 } |
134 } |
110 |
135 |
111 contains(QT_CONFIG, script): { |
136 contains(QT_CONFIG, script): { |
112 qtlibraries.sources += QtScript$${QT_LIBINFIX}.dll |
137 qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtScript$${QT_LIBINFIX}.dll |
113 } |
138 } |
114 |
139 |
115 contains(QT_CONFIG, xmlpatterns): { |
140 contains(QT_CONFIG, xmlpatterns): { |
116 qtlibraries.sources += QtXmlPatterns$${QT_LIBINFIX}.dll |
141 qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtXmlPatterns$${QT_LIBINFIX}.dll |
117 } |
142 } |
118 |
143 |
119 contains(QT_CONFIG, declarative): { |
144 contains(QT_CONFIG, declarative): { |
120 qtlibraries.sources += QtDeclarative$${QT_LIBINFIX}.dll |
145 qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtDeclarative$${QT_LIBINFIX}.dll |
121 } |
146 } |
122 |
147 |
123 graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems |
148 graphicssystems_plugins.path = c:$$QT_PLUGINS_BASE_DIR/graphicssystems |
124 contains(QT_CONFIG, openvg) { |
149 contains(QT_CONFIG, openvg) { |
125 qtlibraries.sources += QtOpenVG$${QT_LIBINFIX}.dll |
150 qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtOpenVG$${QT_LIBINFIX}.dll |
126 graphicssystems_plugins.sources += qvggraphicssystem$${QT_LIBINFIX}.dll |
151 graphicssystems_plugins.sources += $$QT_BUILD_TREE/plugins/graphicssystems/qvggraphicssystem$${QT_LIBINFIX}.dll |
127 } |
152 } |
128 |
153 |
129 contains(QT_CONFIG, multimedia) { |
154 contains(QT_CONFIG, multimedia){ |
130 qtlibraries.sources += QtMultimedia$${QT_LIBINFIX}.dll |
155 qtlibraries.sources += $$QMAKE_LIBDIR_QT/QtMultimedia$${QT_LIBINFIX}.dll |
131 } |
156 } |
132 |
157 |
133 BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)" |
158 BLD_INF_RULES.prj_exports += "qt.iby $$CORE_MW_LAYER_IBY_EXPORT_PATH(qt.iby)" |
134 BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)" |
159 BLD_INF_RULES.prj_exports += "qtdemoapps.iby $$CUSTOMER_VARIANT_APP_LAYER_IBY_EXPORT_PATH(qtdemoapps.iby)" |
135 } |
160 } |