Fix potential symbol clash in the IIOF helpers
Since the IIOF helpers are compiled multiple times into different
handler binaries, there is a potential for symbol clash when they are
linked into the same app. Solve by enclosing the IIOF helper class in
a namespace specific to each handler.
Fixes: QTBUG-113349
Pick-to: 6.7 6.5
Change-Id: I9784d5f76d990222dba0ba12e3ca30bfaa9945cc
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | 34282d8ceffae49df4025a4517e152bcfa67e0e4 |
| parent | a5e0b01214ffdbac811b89c6e19f657d3a0cf34b |
| author | Eirik Aavitsland <eirik.aavitsland@qt.io> |
| committer | Eirik Aavitsland <eirik.aavitsland@qt.io> |
| commit time | Tue, 16 Apr 2024 10:39:42 +0000 |
- M src/plugins/imageformats/macheif/CMakeLists.txt
- M src/plugins/imageformats/macheif/main.cpp
- M src/plugins/imageformats/macheif/qmacheifhandler.cpp
- M src/plugins/imageformats/macheif/qmacheifhandler.h
- M src/plugins/imageformats/macjp2/CMakeLists.txt
- M src/plugins/imageformats/macjp2/qmacjp2handler.cpp
- M src/plugins/imageformats/shared/qiiofhelpers.cpp
- M src/plugins/imageformats/shared/qiiofhelpers_p.h