Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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 main.py 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