On Dec 11, 2012, at 8:30 PM, Alan Alpert <[email protected]> wrote:

> On Tue, Dec 11, 2012 at 3:33 AM, Sorvig Morten <[email protected]> 
> wrote:
>> Please bundle the QML runtime in a class that the app author can instantiate.
>> 
>> This gives us the flexibility to handle platform differences and integrate 
>> with existing workflows. There can still be a "qmlscene"-like binary that 
>> would simply instantiate the class.
>> 
> 
> Already done. It's called QQmlEngine.
> 
> Seriously, the direction this discussion has gone makes me think that
> the 'qml runtime' binary will be basically a vanilla QQmlEngine that
> can load a component from a file (or from text input or whatever) with
> some command line chrome around it. If you want to load the runtime
> within your own C++ application it works *exactly* the same as before.

I think the mindset is important: "everything needed as a part of the qml 
runtime goes into QQmlEngine". This would include QtQuick2ApplicationViewer 
which is currently generated by Qt Creator when creating a new project.

Morten



_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to