QtScript: Difference between revisions
No edit summary |
→External links: fix links |
||
Line 16: | Line 16: | ||
== External links == |
== External links == |
||
* [http://doc.qt.digia.com/4.8 |
* [http://doc.qt.digia.com/4.8/scripting.html Qt: Making applications scriptable] |
||
* [http://doc.qt.digia.com/4.8 |
* [http://doc.qt.digia.com/4.8/qtscript.html QtScript module] |
||
* [http://doc.trolltech.com/qsa-1.2.2/ QSA documentation (version 1.2.2)]{{dead link|date=January 2013}} |
* [http://doc.trolltech.com/qsa-1.2.2/ QSA documentation (version 1.2.2)]{{dead link|date=January 2013}} |
||
* [http://web.archive.org/web/20080106190612/http://trolltech.com/products/qt/addon/qsa Last working snapshot of QSA homepage from archive.org]{{dead link|date=September 2011}} |
* [http://web.archive.org/web/20080106190612/http://trolltech.com/products/qt/addon/qsa Last working snapshot of QSA homepage from archive.org]{{dead link|date=September 2011}} |
Revision as of 06:50, 14 January 2013
QtScript is a scripting engine that has been part of the 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.[1] 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[2] provides bindings for the Qt API to access directly from ECMAScript.[clarification needed update needed?] QtScript and the binding generator are used for Amarok 2's scripting system.
The current (as of Qt 4.7) implementation uses JavaScriptCore.
Qt Script for Applications (QSA)
An earlier and unrelated scripting engine, called Qt Script for Applications (QSA), was shipped by Trolltech as a separate Qt-based library, dual-licensed under GPL and a commercial license.
With the release of QtScript, QSA has been deprecated and reached its end of life in 2008.[3]
References
- ^ "Making Applications Scriptable: ECMAScript Compatibility". Qt 4.6. Nokia. Retrieved 5 September 2011.
- ^ QtScript Generator
- ^ Hansen, Kent (5 January 2007). "Say hello to QtScript!". Qt Labs: Developer Blogs. Nokia. Retrieved 5 September 2011.