[Qt-qml] QML Application Wrapper anyone?

Ivan De Marino ivan.de.marino at gmail.com
Tue Jul 13 14:54:08 CEST 2010


Hello.

With QML evolving at every commit into a very organic and rich
sub-framework, I start to wonder if, for some apps, the use of Qt C++ should
completely be substituted by Javascript inside QML.
In some cases, for apps without CPU-bound code, this makes a lot of sense in
my opinion.

But there is a problem: QML, at the end of the day, is just a script. It
needs a player. And the use of "qmlviewer" for an app that goes in the hands
of users is not acceptable.

I'm wondering if the Trolls were thinking to integrate a sort of
"Application Wrapper" for QML Apps.
The scenario is simple: the developer does all its work, having a
"start.qml" (or something like that) that works as the "int main(int argc,
char** argv)" of the app.
Then with a wizard wraps all his/her code into a final app. A binary
executable or a package (depending on the target platform).

At the end of the day, what's needed is an app that launches a QML Viewer
and that loads the "start.qml".

What do you think guys?
Anyone has a better idea?

I know I know: we can all make it ourself. But I'm starting to spread the
"seed" of QML into my office, and I can see that those scenarios are going
to arise very soon.

-- 
 Ivan De Marino | Software Engineer | France Telecom R&D UK - Orange Labs
 w. +44 20 8849 5806 | m. +44 7515 955 861 | m. +44 7974 156 216
 ivan[dot]demarino[at]orange-ftgroup.com |
ivan[dot]de[dot]marino[at]gmail[dot]com
 www.detronizator.org | www.linkedin.com/in/ivandemarino
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100713/c0082226/attachment.html 


More information about the Qt-qml mailing list