Jump to content

QtScript: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
links fixed
Rescuing 2 sources and tagging 0 as dead. #IABot (v1.5.3)
Line 3: Line 3:
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: ECMAScript 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 [[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: ECMAScript 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 ECMAScript.{{clarify|post-text=update needed?|date=September 2011}} QtScript and the binding generator are used for [[Amarok (software)|Amarok]] 2's scripting system.
The QtScript Binding Generator<ref>[http://qt.gitorious.org/qt-labs/qtscriptgenerator QtScript Generator] {{webarchive|url=https://web.archive.org/web/20111228033225/http://qt.gitorious.org/qt-labs/qtscriptgenerator |date=2011-12-28 }}</ref> provides bindings for the Qt API to access directly from ECMAScript.{{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]] and will not be further developed. The module is deprecated as of Qt 5.5.<ref>{{cite web |url=http://wiki.qt.io/New-Features-in-Qt-5.5#Deprecated_Functionality | title=New Features in Qt 5.5 | publisher=Qt Company |accessdate=15 April 2015}}</ref>
The current (as of Qt 4.7) implementation uses [[JavaScriptCore]] and will not be further developed. The module is deprecated as of Qt 5.5.<ref>{{cite web |url=http://wiki.qt.io/New-Features-in-Qt-5.5#Deprecated_Functionality | title=New Features in Qt 5.5 | publisher=Qt Company |accessdate=15 April 2015}}</ref>
Line 10: Line 10:
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 [[GNU General Public License|GPL]] and a commercial license.
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 [[GNU General Public License|GPL]] and a commercial license.


With the release of QtScript, QSA has been deprecated and reached its end of life in 2008.<ref>{{cite web |last=Hansen |first=Kent |date=5 January 2007 |url=http://blog.qt.digia.com/blog/2007/01/05/say-hello-to-qtscript/ |title=Say hello to QtScript! |work=Qt Labs: Developer Blogs |publisher=Nokia |accessdate=23 November 2013}}</ref>
With the release of QtScript, QSA has been deprecated and reached its end of life in 2008.<ref>{{cite web |last=Hansen |first=Kent |date=5 January 2007 |url=http://blog.qt.digia.com/blog/2007/01/05/say-hello-to-qtscript/ |title=Say hello to QtScript! |work=Qt Labs: Developer Blogs |publisher=Nokia |accessdate=23 November 2013 |deadurl=yes |archiveurl=https://www.webcitation.org/6HfSMamF0?url=http://blog.qt.digia.com/blog/2007/01/05/say-hello-to-qtscript/ |archivedate=26 June 2013 |df= }}</ref>


== References ==
== References ==

Revision as of 08:21, 21 September 2017

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 and will not be further developed. The module is 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

  1. ^ "Making Applications Scriptable: ECMAScript Compatibility". Qt 4.6. Nokia. 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 26 June 2013. Retrieved 23 November 2013. {{cite web}}: Unknown parameter |deadurl= ignored (|url-status= suggested) (help)

External links