Some other people where asking for a video too. So I did one real quick. Compressed a bit big, but hopefully it’s watchable.
http://www.studiopyxis.com.s3.amazonaws.com/movies/C4InteractiveDev.mov j On Jan 25, 2014, at 1:04 AM, Alexander Ivash <elder...@gmail.com> wrote: > >> 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. > > That's really cool! But how do you reload not root QML files? > > p.s. I think having such functionality in Qt out-of-box would be a killer > feature. > > > 2014/1/25 Joshua Kolden <jos...@crackcreative.com> > 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
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest