QtScript: Difference between revisions

Content deleted Content added
No edit summary
Undid revision 577528849 by 88.184.192.240 (talk)
Line 1:
'''QtScript''' is a scripting engine that has been part of the [[Qt (framework)|Qt]] [[cross-platform]] [[application framework]] since version 4.3.0.
 
The [[scripting language]] is based on the [[ECMAScript]] standard with a few extensions, such as QObject-style signal and slot connections.<ref>{{cite web |url=http://doc.trolltech.com/4.6/scripting.html#ecmascript-compatibility |title=Making Applications Scriptable: EMACScriptECMAScript Compatibility |work=Qt 4.6 |publisher=Nokia |accessdate=5 September 2011}}</ref> The library contains the engine, and a [[C++]] API for evaluating QtScript code and exposing custom QObject-derived C++ classes to QtScript.
 
The QtScript Binding Generator<ref>[http://qt.gitorious.org/qt-labs/qtscriptgenerator QtScript Generator]</ref> provides bindings for the Qt API to access directly from EMACScriptECMAScript.{{clarify|post-text=update needed?|date=September 2011}} QtScript and the binding generator are used for [[Amarok (software)|Amarok]] 2's scripting system.
 
The current (as of Qt 4.7) implementation uses [[JavaScriptCore]].