Misplaced Pages

QtScript

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Qt Script for Applications) Scripting engine

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. 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 provides bindings for the Qt API to access directly from ECMAScript. 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.

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.

References

  1. "Making Applications Scriptable: ECMAScript Compatibility". Qt 4.6. Nokia. Archived from the original on 2010-09-28. Retrieved 5 September 2011.
  2. QtScript Generator Archived 2011-12-28 at the Wayback Machine
  3. "New Features in Qt 5.5". Qt Company. Retrieved 15 April 2015.
  4. Hansen, Kent (5 January 2007). "Say hello to QtScript!". Qt Labs: Developer Blogs. Nokia. Archived from the original on 2 December 2013. Retrieved 23 November 2013.

External links

Qt platform
GUIs built with Qt
Qt technologies
Tools
Language bindings
Supported platforms
Related topics
ECMAScript
Dialects
Engines
(comparison)
Frameworks
Client-side
Server-side
Multiple
  • Cappuccino
Libraries
People
Other
Lists
JavaScript libraries
Ajax frameworks
Comparisons
JavaScript frameworks
server-side JavaScript
Categories: