JPEG-XL Images Fail to Import

Upon importing any JPEG-XL (JXL) image, I am asked to transcode them into an edit-friendly format, which does not occur with other image formats such as PNG. When choosing any of the available options, the following error occurs and I am unable to import JPEG-XL images into my project:

libjxl is installed on my system, and JPEG-XL files open in other applications.

You need qt-image support for jxl, install kimageformats.

Thank you. Installing kimageformats with JPEG-XL support fixed the issue.

Note that the package name varies. On Fedora for example, look to install one or both:

kf6-kimageformats
kf5-kimageformats

On Gentoo Linux, the package name is “kde-frameworks/kimageformats”. The USE-flag “jpegxl” must be enabled.