The wkhtmltopdf project was archived at version 0.12.6.1, but I still use it in my projects. This repo provides binary releases (both full .deb files and just the wkhtmltopdf executable) through github actions for current (amd64) versions of Debian and Ubuntu. This includes Ubuntu 24.04 (noble), which uses g++ 13 by default and required some patching of the Qt configure script.
Warning: Do not use wkhtmltopdf with any untrusted HTML