novomesk / qt-jpegxl-image-plugin

Qt plug-in to allow Qt and KDE based applications to read/write JXL images.
GNU General Public License v3.0
91 stars 8 forks source link

Plugin built with libjxl v0.9.1 doesn't work [msys2] #27

Closed eddiezato closed 7 months ago

eddiezato commented 7 months ago

I'm building qimgv/yacreader along with this plugin in msys2/ucrt64 and msys2/clang64 environments. If the plugin is based on libjxl v0.8.2, it works fine, but if libjxl v0.9.1, the apps simply can't recognize jxl images.

novomesk commented 7 months ago

I tried MSYS2 CLANG64 + Qt6.

I used qmake6.exe and slightly changed the .pro script and for me it worked:

image

eddiezato commented 7 months ago

I build with cmake and Qt 6.6.1. I don't see any errors. But v0.9.1 just doesn't work, as if the plugin doesn't there at all. And v0.8.2 works fine.

eddiezato commented 7 months ago

Apparently I've been hasty again in creating the issue. 😅 Found a new dependency that was missing, libjxl_cms.dll.