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

Example declarative\usingmodel.py error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Fixed
    • Affects Version/s: 5.11.0
    • Fix Version/s: 5.11.1
    • Component/s: PySide
    • Labels:
      None
    • Commits:
      20de0a3b512b040097cadeda9fdb9bfb8245117c

      Description

      python examples\declarative\usingmodel.py
      sys:1: RuntimeWarning: Invalid return value in function QAbstractListModel.roleNames, expected hash, got dict.
      file:///C:/Users/Cody/Downloads/deleteme2/venv/Lib/site-packages/PySide2/examples/declarative/view.qml:57: ReferenceError: modelData is not defined
      file:///C:/Users/Cody/Downloads/deleteme2/venv/Lib/site-packages/PySide2/examples/declarative/view.qml:57: ReferenceError: modelData is not defined

       

        Attachments

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

          Activity

            People

            Assignee:
            crmaurei Cristian Maureira-Fredes
            Reporter:
            code Cody Scott
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes