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

static methods slot cannot be called

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 5.14.0
    • PySide
    • None
    • Linux/Wayland, macOS, Windows

      The static methods cannot be properly exposed to Qml. The lack of qmlRegisterSingletonType also doesn't help to expose the static methods without object instance. But still should be able to call static methods from Qml instance.

       

      I did attach file to repro the issue.

        1. requirements.txt
          0.0 kB
        2. pyside1217.zip
          1 kB
        3. main.qml
          0.7 kB
        4. main.py
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            jeromegodboutamotus Jerome Godbout
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes