Commit 1308826
committed
Static plugins - mangle entry point
Namespaced qt should be protected against duplicate symbols in the same
process/dso. The static plugin factory had a flat name, so we should
name-mangle it.
[ChangeLog] In namespaced builds the entry function for static plugins
now appends the namespace via QT_MANGLE_NAMESPACE.
Task-number: QTBUG-138543
Pick-to: 6.10
Change-Id: Ic656a4fd27d5a3d2b2209ef553c34e75024acc3b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>1 parent 6f22bcd commit 1308826
File tree
2 files changed
+9
-9
lines changed- src/corelib/plugin
- tests/auto/corelib/plugin/qpluginloader
2 files changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
199 | | - | |
| 199 | + | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1160 | 1160 | | |
1161 | 1161 | | |
1162 | 1162 | | |
1163 | | - | |
| 1163 | + | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
1168 | | - | |
| 1168 | + | |
1169 | 1169 | | |
1170 | 1170 | | |
1171 | 1171 | | |
| |||
0 commit comments