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

QQmlParserStatus does not work or unclear how to use

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 6.2.4
    • PySide
    • None
    • All
    • 931f3115da (pyside/pyside-setup/dev) 931f3115da (pyside/tqtc-pyside-setup/dev) 931f3115da (pyside/pyside-setup/6.3) 931f3115da (pyside/tqtc-pyside-setup/6.3)

    Description

      QQmlParserStatus usually requires the Q_INTERFACES(QQmlParserStatus) macro when used from C++, we don't have an equivalent in PySide6.

      The small example I have attached, which inherits from QQmlParserStatus does not work as expected, likely because the QmlEngine expects the meta-object to have some special flag that is set with the Q_INTERFACES macro usually.

      Not sure if that is a bug or just an undocumented feature.

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            strahlex Alexander Rössler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes