Closed master-of-zen closed 3 years ago
Steps 1 and 2 can be potentially merged into one.
add -DJPEGXL_ENABLE_PLUGINS=ON
and image-xl.xml will be installed. But it also attempt to built GIMP 2.10 plug-in and a gdk-pixbuf loader. I think in such case the CMAKE_INSTALL_PREFIX=/usr
has to be set too.
I had to add -DJPEGXL_ENABLE_SJPEG=OFF
on some computers.
and also -DJPEGXL_WARNINGS_AS_ERRORS=OFF
because in some cases there are warnings.
My system doesn't have sudo tool installed. I prefer to use text "run as root" where the sudo command is used.
@novomesk you know better than me, so I hope you correct and merge :)
This pull request adds a guide for plugin and JPEG XL installation, and close the https://github.com/novomesk/qt-jpegxl-image-plugin/issues/1