Skip to content

Check correct version for HEIF plugin (build fix)

Adriaan de Groot requested to merge work/adridg/fix-heif-build into master

This build failure happens if you have libheif 1.10.0 installed:

plugins/impex/heif/HeifExport.cpp:461:21: error: no member named 'macOS_compatibility_workaround_no_nclx_profile' in 'heif::Context::EncodingOptions' options.macOS_compatibility_workaround_no_nclx_profile = false;

That option was added to libheif just after the 1.10.0 release. Bump the version requirement to avoid the build-failure (which affects people trying to build Krita 5.0 on FreeBSD). FWIW the change in libheif was in commit ad6d3c7ba67d0b5b329035ebff3343dc1131c372 in that repo, on 2021-1-7.

Merge request reports