Add plugin for AV1 Image File Format (AVIF)

This commit is contained in:
Daniel Novomeský
2020-12-13 22:23:27 +00:00
committed by Albert Astals Cid
parent a6ec69d276
commit 34a9ec1b06
15 changed files with 1093 additions and 0 deletions

View File

@ -47,6 +47,13 @@ set_package_properties(OpenEXR PROPERTIES
TYPE OPTIONAL
PURPOSE "Required for the QImage plugin for OpenEXR images"
)
find_package(libavif 0.8.2 CONFIG)
set_package_properties(libavif PROPERTIES
TYPE OPTIONAL
PURPOSE "Required for the QImage plugin for AVIF images"
)
add_definitions(-DQT_NO_FOREACH)
# 050d00 (5.13) triggers a BIC in qimageiohandler.h, in Qt 5.13, so do not enable that until we can require 5.14
# https://codereview.qt-project.org/c/qt/qtbase/+/279215