[Interest] ECMA "strict mode" in QtScript?
mail at chrschn.de
Fri Feb 22 12:09:13 CET 2013
When using QtScript in an application, is there a way to enable strict
mode for script code, as the statement "use strict" should do ? A
simple experiment with Qt 4.8 indicates that the "use strict" statement
does not have any effect.
There are no hints on the strict mode in the QtScript documentation,
however the ECMA specification linked from Qt's docs clearly explains
the strict mode. I haven't tried it with Qt 5 yet, however the online
docs also do not give any hint about the strict mode , QScriptValue
does not have a "strict" flag, etc (in fact, the QtScript docs for Qt
4.8 and 5.0 look identical to me).
Does anyone know what's the status on this matter?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the Interest