QtScript
QtScript is a scripting engine that has been part of the Qt cross-platform application framework since version 4.3.0. It was first deprecated and then dropped as of Qt 6.5 (which has Qt QML as replacement).
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 and will not be further developed. The module was deprecated as of Qt 5.5.[3]
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.[4]
References
- ↑ "Making Applications Scriptable: ECMAScript Compatibility". Qt 4.6. Nokia. http://doc.trolltech.com/4.6/scripting.html#ecmascript-compatibility.
- ↑ QtScript Generator
- ↑ "New Features in Qt 5.5". Qt Company. http://wiki.qt.io/New-Features-in-Qt-5.5#Deprecated_Functionality.
- ↑ Hansen, Kent (5 January 2007). "Say hello to QtScript!". Qt Labs: Developer Blogs. Nokia. http://blog.qt.digia.com/blog/2007/01/05/say-hello-to-qtscript/.
External links
- Qt: Making applications scriptable
- QtScript module[yes|permanent dead link|dead link}}]
- QSA documentation (version 1.2.2)
- Last working snapshot of QSA homepage from archive.org
- QSA download directory[|permanent dead link|dead link}}]
Original source: https://en.wikipedia.org/wiki/QtScript.
Read more |