pyqtProperty type error
Sietse <[email protected]>
| Newsgroups | gmane.comp.python.pyqt-pykde |
|---|---|
| Message-ID | <[email protected]> |
Hello list, I am porting qt5/qtconnectivity/examples/lowenertyscanner to pyqt5. It can be found in on github <https://github.com/SietseAchterop/BLE_pyqt5> in *main.py* There are 2 very similar uses of pyqtProperty, the first is working, the second (servicesList) gives the following error: The question is, why is the second use giving an error? Both properties are used in the same way as a model in a ListView in main.qml and Service.qml respectively. The relevant code snippets: The last 2 return lists of DeviceInfo and ServiceInfo respectively: Hopefully someone can help. Thanks in advance, Sietse -- Sent from: http://python.6.x6.nabble.com/PyQt-f1792048.html _______________________________________________ PyQt mailing list [email protected] https://www.riverbankcomputing.com/mailman/listinfo/pyqt