<div dir="ltr"><span style="font-size:12.8px">Hello,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have a TableView in QML:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>import QtQuick 2.5</div><div>import QtQuick.Controls 1.4</div><div><br></div><div>TableView {</div><div>    x: 0</div><div>    y: 0</div><div>    width: 400</div><div>    height: 400</div><div>    TableViewColumn{</div><div>        role: "test"</div><div>        title: "Test"</div><div>    }</div><div>    model: listModel</div><div>}</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">and a list defined in python, the application is started from python:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>from PyQt5.QtCore import QUrl</div><div>import sys</div><div>from PyQt5.QtQuick import QQuickView</div><div>from PyQt5.QtGui import QGuiApplication</div><div><br></div><div>if __name__ == '__main__':</div><div>    app = QGuiApplication(sys.argv)</div><div>    </div><div>    view = QQuickView() </div><div>    root_context = view.rootContext()</div><div>    </div><div>    list_model = ['item1', 'item2']</div><div>    </div><div>    root_context.setContextProperty('listModel', list_model)</div><div>    view.setSource(QUrl.fromLocalFile('_test.qml'))</div><div>    view.setResizeMode(QQuickView.SizeRootObjectToView)</div><div>    view.show()</div><div><br></div><div>    sys.exit(app.exec_())</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><img src="cid:ii_1537debdabdbdf6a" alt="Inline-Bild 1" width="233" height="110" class=""><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Now I want to add a new item to the list:</div><div style="font-size:12.8px">list_model = list_model.append('item3')<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">How do I propagate that change to the view in QML?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Any help is welcome.</div></div>