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

Cannot edit contact in contact list example due to deprecated signal handler errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.10.0, 6.9.3
    • 6.9.1
    • Other
    • None
    • All
    • bafd664ff (dev), 85ebdf145 (6.9), 93fe52fe0 (tqtc/lts-6.8)

      MacOS 15.6

      Qt Creator 18.0.0-beta2

      Python 3.12 and 3.10.12

      Steps:

      1. Open /examples/quickcontrols/contactslist example in Qt Creator.
      2. Select Qt for Python and run the app on MacOS.
      3. Long-press on any name and try to edit it. 

       

      Expected: I can edit the contact.

      Actual: I got the error and cannot edit the contact. I assume the example needs to be updated:

       

      qt.qml.context: file:///Users/lk/workspace/pyside-setup/examples/quickcontrols/contactslist/Contact/ContactList.qml:53:9 Parameter "index" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.
      file:///Users/lk/workspace/pyside-setup/examples/quickcontrols/contactslist/Contact/ContactList.qml:38: TypeError: Cannot read property 'fullName' of undefined
      file:///Users/lk/workspace/pyside-setup/examples/quickcontrols/contactslist/Contact/ContactDialog.qml:23: TypeError: Cannot read property 'fullName' of undefined
       

       

       

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

            kleint Friedemann Kleint
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes