Yes.  I’ve done this.  I have a realtime coding environment in which the 
running app will reload and redraw qml on file change.  It’s relatively easy to 
setup.  I’ve even set it up so that it’ll draw iPad and iPhone sized windows 
next to a reduced desktop window on my mac desktop machine.

The basics are that I use a QFileSystemWatcher to notice a qml file change and 
signal to reload the qml.  The only extra step is to call clearComponentCache() 
on the qml engine each time before reloading the qml.

javascript files also need to be updated in my case because I’m using 
coffeescript, so there is a compile step required before loading.  For this I 
use “guard” (ruby file watcher gem, but you could use anything).  It watches 
for any changes to the caffescript files, and runs make to build the js.

I do all my development in ram disk, so the combined effect is a completely 
interactive real time text driven design interface.  I really recommend it.


On Jan 24, 2014, at 9:57 AM, Alexander Ivash <elder...@gmail.com> wrote:

> Did anybody implement such functionality? Is is possible at all? Having this 
> would be extremely helpful for fine-tuning UI. 
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to