LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Michael Uplawski
User Name
Password

Notices


Rate this Entry

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)

0.) Install libavif-dev
1.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ git clone https://github.com/novomesk/qt-avif-image-plugin.git
2.)
Code:
young_preacher@elysee:~/where_your/git_repos/are$ cd qt-avif-image-plugin/
3.)
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ ./build_libqavif_dynamic.sh
If you do not get a
Quote:
SUCCESS! in order to install libqavif.so type as root:
make install
, then do whatever is necessary before continuing. Otherwise:
4.)
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ sudo make install
5.) Find the image-plugins for your current Qt development version and change to this directory. For example
Code:
young_preacher@elysee:~/where_your/git_repos/are/qt-avif-image-plugin$ cd /opt/Qt/[version]/gcc_64/plugins/imageformats
6.) Find the place, where make install has put the file libqavif.so. For example
Code:
/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqavif.so
7.)
Code:
young_preacher@elisee:/opt/Qt/[version]/gcc_64/plugins/imageformats$ sudo cp \
/usr/lib/x86_64-linux-gnu/qt6/plugins/imageformats/libqavif.so ./
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.
Attached Images
File Type: jpg sc.jpg (83.9 KB, 9 views)
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 03:12 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration