What is the correct way to reload qml file in QQuickView? I am using Qt Quick 2.1 and trying to write a simple program that downloads a qml file and displays it. I am currently doing this by creating a QQuickView, and when I want to reload the qml file, I delete the old one and create a new one. What is the right way to do this? calling QQuickView :: setSource with a new qml file (or a modified qml file) did not work for me.
source share