[Development] Toolability of mixing QML and JS
Marco.Bubke at digia.com
Wed Jun 26 15:00:23 CEST 2013
Sorry for the formatting but the web email client is improvable.
tooling needs them whereas the interpreter does not.
I'm not sure that you know how is works now so I believe you are not in the context. Ok, here how the designer works:
First we have a Rewriter which sits on top of the AST. It is the brigde between the our DOM like model and the AST. From the model there is a view which is
generating a qml tree in a other process. This is not the preview because we need more control for example no animations etc.. So we generate the qml object tree not from text but directly(actual there is no good interface to do it). Than we read back the values and images and compose the scene in a graphicsview, fill the values in the property editor etc.. The approach with the different process has additional advantage that a crash is not that bad, we can link with different Qt versions and can restart the process because there was a problem which we call "componentComplete lazy programming". Hope now you get a better picture. ;-)
Development mailing list
Development at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development