[Development] QML Runtime

Thiago Macieira thiago.macieira at intel.com
Tue Dec 11 17:00:17 CET 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121211/ea4fab32/attachment.sig>


More information about the Development mailing list