I'd like to bring your attention to PYSIDE-1955. Once again, I see that the tr function is missing from the QObject class stubs as described in PySide6/QtCore.pyi. However, the function is mentioned in sources/pyside6/PySide6/QtCore/typesystem_core_common.xml and sources/pyside6/PySide6/glue/qtcore.cpp. How can one be present and missing at the same time?
My best guess is that at line 1810, instead of classmethod="yes", there should be static="yes".