[Qt-qml] How to edit and continue?
mathias.malmqvist at nokia.com
mathias.malmqvist at nokia.com
Fri May 27 21:07:51 CEST 2011
Hi,
Anyone know if there's any way to make the QML engine properly reload
and recompile a qml file that has already been loaded and used before?
I.e. while developing I want to be able to edit a qml file and have the change
show up on the screen without restarting the qml application, because
restarting it takes quite a while.
I tried using a Loader to load the root element that contains the elements I
want to be able to edit, but the compiled qml code must be cached even
after the element has been unloaded by the Loader 'cause the changes I
make are not picked up until I restart the whole thing. Can I turn off the
caching or explicitly purge it?
Cheers
Mathias
More information about the Qt-qml
mailing list