https://bugs.kde.org/show_bug.cgi?id=500150

            Bug ID: 500150
           Summary: kimageformats 6.11 introduces a dependency on Qt 6.8
    Classification: Frameworks and Libraries
           Product: frameworks-kimageformats
           Version: 6.11.0
          Platform: Debian unstable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: alex.me...@kde.org
          Reporter: couc...@debian.org
                CC: aa...@kde.org, kdelibs-b...@kde.org
  Target Milestone: ---

Dear Maintainer,

kimageformats 6.11 introduced a dependency on Qt 6.8.
Due to this commit [1] it makes use of QColorSpace::.whitePoint() and
QColorSpace::Primaries::Bt2020 which were introduced in Qt 6.8.

I’m not sure whether this is intentional but since the release notes mention Qt
6.5 as a minimum version I guess not ?


[1]
https://invent.kde.org/frameworks/kimageformats/-/commit/397957a976b330284f4fceb6fc9c56ed7d7536cb


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  Debian Unstable (linux 6.12.13)
KDE Plasma Version:  6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Relevant part of the build logs with Qt 6.7.2 :

/build/package/package/src/imageformats/jxl.cpp: In member function ‘virtual
bool QJpegXLHandler::write(const QImage&)’:
/build/package/package/src/imageformats/jxl.cpp:1332:59: error: ‘class
QColorSpace’ has no member named ‘whitePoint’
 1332 |                 const QPointF whiteP = image.colorSpace().whitePoint();
      |                                                           ^~~~~~~~~~
/build/package/package/src/imageformats/jxl.cpp:1371:46: error: ‘Bt2020’ is not
a member of ‘QColorSpace::Primaries’
 1371 |                 case QColorSpace::Primaries::Bt2020:
      |                                              ^~~~~~
/build/package/package/src/imageformats/jxl.cpp: In member function ‘bool
QJpegXLHandler::extractBox(QByteArray&, size_t)’:
/build/package/package/src/imageformats/jxl.cpp:2010:45: warning: unused
parameter ‘output’ [-Wunused-parameter]
 2010 | bool QJpegXLHandler::extractBox(QByteArray &output, size_t
container_size)
      |                                 ~~~~~~~~~~~~^~~~~~
/build/package/package/src/imageformats/jxl.cpp:2010:60: warning: unused
parameter ‘container_size’ [-Wunused-parameter]
 2010 | bool QJpegXLHandler::extractBox(QByteArray &output, size_t
container_size)
      |                                                    
~~~~~~~^~~~~~~~~~~~~~
make[3]: *** [src/imageformats/CMakeFiles/kimg_jxl.dir/build.make:102:
src/imageformats/CMakeFiles/kimg_jxl.dir/jxl.cpp.o] Error 1
m

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to