This package does not support Python 3.11. Please test it with Python 3.11 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/abb5788ea81c7bbf4d40a2995b682eb9. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Current snapshot does not work with 3.11 using our current python-3 patch, I had already tried months ago. Debian are using this patch: https://salsa.debian.org/qt-kde-team/qt/qtwebengine/-/blob/master/debian/patches/python3.11.patch
commit 736b77725cd517497c08aea2a696a19be73d3872 Author: Andreas Sturmlechner <asturm@gentoo.org> Date: Wed Mar 29 17:29:23 2023 +0200 dev-qt/qtwebengine: add 5.15.8_p20230313 Bug: https://bugs.gentoo.org/903115 Bug: https://bugs.gentoo.org/903544 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>