Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-2307

QObject missing member in interface definition

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5.0, 6.4.3
    • PySide, Shiboken
    • None
    • Windows

      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.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            sven.wanzenried Sven Wanzenried
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes