PyQt5 QML treeview example
问题 I try to setup a simple treeview example with PyQt5.6 (Python 3.4) and QML. I just found a few C++ examples, but nothing related to PyQt. I picked up the simpletreemodel example comming with PyQt source and modified it (https://github.com/baoboa/pyqt5/tree/master/examples/itemviews/simpletreemodel). Most likely something is wrong with the model. I got two error messages: simpletreemodel.qml:13:5: QML TreeView: Binding loop detected for property "model" ...qt/5.6/gcc_64/qml/QtQuick/Controls