[Qt-qml] QML and Unix #!/path/to/interpreter
Pertti Kellomäki
pertti.kellomaki at nokia.com
Tue Apr 20 08:40:15 CEST 2010
On 04/19/2010 04:18 PM, Alpert Alan (Nokia-D-Qt/Brisbane) wrote:
> It is not possible because the first line is not valid QML (starting
> with #!).
> Note that # will not start a comment in QML.
Yes, I realize that. However, the #! interpreter syntax is important
enough that e.g. the authors of scsh (Scheme Shell)
<http://www.scsh.net/docu/html/man-Z-H-2.html#node_sec_1.6.3> have
decided to give it special treatment.
QML could be an extremely nifty tool for writing simple script style
applications without compromising in the user interface front.
Supporting the #! syntax would make it even more attractive, at least to
me. And even more so to the hordes of Meego hackers already banging at
the gates ;-)
--
Pertti
More information about the Qt-qml
mailing list