Avif support for Qt – How it appears to work
Posted 01-20-2024 at 02:58 AM by Michael Uplawski
Updated 01-20-2024 at 02:39 PM by Michael Uplawski (Too many $ and stuff)
Updated 01-20-2024 at 02:39 PM by Michael Uplawski (Too many $ and stuff)
Tags avif, image formats, libqavif, qt-development
0.) Install libavif-dev
1.)
2.)
3.)
If you do not get a
, then do whatever is necessary before continuing. Otherwise:
4.)
5.) Find the image-plugins for your current Qt development version and change to this directory. For example
6.) Find the place, where make install has put the file libqavif.so. For example
7.)
That's all. With the dynamic library in place, an application which is compiled against the corresponding Qt version will handle Avif, now. No need to re-compile, nor to manipulate the code further.
Oh and ... I will bookmark this blog entry.
Now.
1.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ git clone https://github.com/novomesk/qt-avif-image-plugin.git
Code:
young_preacher@elysee:~/where_your/git_repos/are$ cd qt-avif-image-plugin/
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ ./build_libqavif_dynamic.sh
Quote:
SUCCESS! in order to install libqavif.so type as root:
make install
make install
4.)
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ sudo make install
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ cd /opt/Qt/[version]/gcc_64/plugins/imageformats
Code:
/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqavif.so
Code:
young_preacher@elisee:/opt/Qt/[version]/gcc_64/plugins/imageformats$ sudo cp \ /usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqavif.so ./
Oh and ... I will bookmark this blog entry.
Now.
Total Comments 0