Description
In QtCore.pyi, QObject is missing a definition for the static member method tr(const char *sourceText, const char *disambiguation = nullptr, int n = -1) as documented here: https://doc.qt.io/qt-6/qobject.html
Is there a reason, why this is missing? The function itself seems to work ok. I can call it. However I get a massive amount of warnings because the method is not recognized by the IDE.
Attachments
Issue Links
- clones
-
PYSIDE-1955 mypy error: "QObject" has no attribute "tr"
- Closed