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

QML grouped access works with decorators, but not with qmlRegisterType

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.5.2
    • PySide
    • None

      Using grouped access to set and read QML properties does work when using the `@QmlElement` decorator, but doesn't work when registering the types via `qmlRegisterType`. The attached minimal example demonstrates the problem. The broken version throws the following error:

      main.qml:15:7: Cannot assign to non-existent property "foo"

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

            crmaurei Cristian Maureira-Fredes
            machinekoder Alex Roessler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes