QtScript

QtScript is a scripting engine that has been part of the Qt cross-platform application framework since version 4.3.0.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

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 as of Qt 5.5, then dropped as of Qt 6.5, and replaced by Qt Meta-object Language (QML). 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++ application programming interface (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 QtScript version as of Qt 4.7 in 2011 uses JavaScriptCore but was developed no further. The module was deprecated as of Qt 5.5 in April 2015.

Text derived from https://en.wikipedia.org/w/index.php?oldid=1294827179 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

4 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.