On terça-feira, 11 de dezembro de 2012 10.48.43, Knoll Lars wrote:
> > The main difficulty I see is how to determine which application class to
> > instantiate.
> >
> > If you load a non-UI QML file you might not want QGuiApplication to be
> > instantiated.
> > If you load a QtQuick1 file you'll need QApplication instantiated.

You can specify extra options in the hashbang line:

#!/usr/bin/qml -t quick1
#!/usr/bin/qml -t qbs

etc.

> I'd assume that the runtime will be limited to Qt Quick 2.

If it's limited to Qt Quick 2, it shouldn't be called "qml". Call it
"qtquick2" then.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to