There are some deprecated methods in the code:
https://build.kde.org/job/Applications/job/gwenview/job/kf5-qt5%20FreeBSDQt5.13/4/warnings12Result/category.2119183113/
QImage::sizeInBytes() was introduced in Qt 5.10, so bump the Qt version (can be reverted if it is not acceptable).