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

QObject missing member in interface definition

    XMLWordPrintable

Details

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

    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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes