Tiff: Add message handler to pass errors/warnings through Qt logging
Use TIFFClientOpenExt() and set an error/warning handler to be able
to pass the output through the Qt logging system. Use
qt.imageformats.tiff as the logging channel.
This requires libtiff >= 4.5.0
Pick-to: 6.7
Fixes: QTBUG-122829
Change-Id: I19d453ced9af0b6bc20988f6f1505988c1c1aa5c
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
| commit | adbede1e675be185da233673be853ced3423033c |
| parent | 22a97e80aca03a8175f389cc5b5105ed6f686c3d |
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> |
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> |
| commit time | Tue, 9 Apr 2024 14:58:00 +0000 |