https://bugs.kde.org/show_bug.cgi?id=501213
Bug ID: 501213 Summary: heif version requirement needs to be updated in CMakeLists.txt Classification: Frameworks and Libraries Product: frameworks-kimageformats Version: unspecified Platform: Other OS: All Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: alex.me...@kde.org Reporter: bega...@gmail.com CC: aa...@kde.org, kdelibs-b...@kde.org Target Milestone: --- SUMMARY Build failure on kimageformats 6.12.0-re1 and heif 1.12.0 STEPS TO REPRODUCE 1. Build the framework kimageformats 2. build will fail with heif version 1.12.0 (requirement in kimageformats mention 1.10.0) OBSERVED RESULT Build fails with an error: ``` [ 91%] Built target kimg_psd /sources/kimageformats-v6.12.0-rc1/src/imageformats/heif.cpp: In member function 'bool HEIFHandler::write_helper(const QImage&)': /sources/kimageformats-v6.12.0-rc1/src/imageformats/heif.cpp:333:94: error: 'heif_metadata_compression_off' was not declared in this scope 333 | err = heif_context_add_XMP_metadata2(context, handle, ba.constData(), ba.size(), heif_metadata_compression_off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /sources/kimageformats-v6.12.0-rc1/src/imageformats/heif.cpp:333:19: error: 'heif_context_add_XMP_metadata2' was not declared in this scope; did you mean 'heif_context_add_XMP_metadata'? 333 | err = heif_context_add_XMP_metadata2(context, handle, ba.constData(), ba.size(), heif_metadata_compression_off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | heif_context_add_XMP_metadata ``` EXPECTED RESULT Build completes. SOFTWARE/OS VERSIONS Haiku: R1B5 KDE Frameworks Version: 6.12.0-rc1 (was still OK with 6.11.0) Qt Version: 6.8.2 ADDITIONAL INFORMATION Build completed fine after updating local package for heif to 1.19.7 -- You are receiving this mail because: You are watching all bug changes.