Nomacs build failed (AUR)

Updating nomacs failed with:

/home/pete/.cache/yay/nomacs/src/nomacs-3.17.2282/ImageLounge/src/DkGui/DkDialog.cpp:4215:33: warning: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead. [-Wdeprecated-declarations]
 4215 |     ytrans = (mPrinter->pageRect().height() - transRect.height()) / 2;
      |               ~~~~~~~~~~~~~~~~~~^~
/usr/include/qt/QtPrintSupport/qprinter.h:259:11: note: declared here
  259 |     QRect pageRect() const;
      |           ^~~~~~~~
make[2]: Leaving directory '/home/pete/.cache/yay/nomacs/src/nomacs-3.17.2282/build'
make[1]: *** [CMakeFiles/Makefile2:242: CMakeFiles/nomacsCore.dir/all] Error 2
make[1]: Leaving directory '/home/pete/.cache/yay/nomacs/src/nomacs-3.17.2282/build'
make: *** [Makefile:156: all] Error 2
make: Leaving directory '/home/pete/.cache/yay/nomacs/src/nomacs-3.17.2282/build'
==> ERROR: A failure occurred in build().
 -> error making: nomacs-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
nomacs - exit status 4

There was of course a lot more output before this.

A better place for reporting/discuss this is at AUR (en) - nomacs

There is also nomacs-git in AUR.
Builds fine.

Thanks, I’ll give that a try.