I fixed this around Oct 10, it is in the git master branch. I am sure there will be another KDE release before you freeze Trixie, so I did not backport it anywhere.
Also, it seems kajongg/testing has version 22.12 which is rather old and unmaintained. Is it known what KDE version Trixie will use? 730ecbdb1 2024-10-09 Wolfgang Rohdewald remove remaining traces for windows installer b5658fec4 2024-10-09 Wolfgang Rohdewald also remove *.ui files from CMake and other metadata 1e1549360 2024-10-09 Wolfgang Rohdewald mypy: also silence warnings from Pyside6 bindings 0cfbbf71f 2024-10-09 Wolfgang Rohdewald Pyside does not implement __len__ for QListWidget 01fd1e3f2 2024-10-09 Wolfgang Rohdewald fixup ui removal 78083bfdd 2024-10-09 Wolfgang Rohdewald fixup cgibt 0927682ec 2024-10-08 Wolfgang Rohdewald get rid of *.ui files b0c370a05 2024-10-08 Wolfgang Rohdewald better error message if kmahjongg resources are not installed 2f4412c31 2024-10-07 Wolfgang Rohdewald remove windows installer 1054a45e1 2024-10-07 Wolfgang Rohdewald remove unused cgitb module 88a0beb61 2024-09-12 Wolfgang Rohdewald workaround: qtpy sometimes uses PYQT6 bindings even if it cannot find module PyQt6. See KDE bug 486171 -- mit freundlichen GrĂ¼ssen Wolfgang Rohdewald