Important: Please read the Qt Code of Conduct -

listmodel.append from pyqt

  • Hello, I'm trying to add elements in a ListModel element with it's method append from my file, and I have the following error message:
    TypeError: unable to convert argument 0 of QAbstractListModel.append from 'Dict' to 'QQmlV4Function*'
    What can I do to pass my object as the listmodel.append argument?

Log in to reply