Slashdot Mirror


Qt Script For Applications 1.0 Released Today

hpj writes "Trolltech today released QSA. An ECMA based scripting extension to Qt (On which KDE is based) which allows easily adding scripting support to Qt (And in extension KDE applications). It is licensed like Qt under GPL as well as commercial licenses for Windows, Mac and X11 for those GPL is not suitable."

5 of 33 comments (clear)

  1. Problem with Slashdot Users Page by Andy_R · · Score: 4, Funny

    I can't seem to find the 'stop showing me every damn press release that trolltech makes' button in my preferences.

    --
    A pizza of radius z and thickness a has a volume of pi z z a
  2. MacOSX Compile by Dave9876 · · Score: 4, Informative

    I'm not too sure if it's going to happen to anyone else or it was just my bad luck. But if if bitches about not having a license when trying to compile it under OSX, try "touch LICENSE.GPL" before running "./configure".

  3. scripting framework by vinsci · · Score: 3, Informative
    Why add just one scripting language, when you can get them all? If you're lucky enough ;-) to develop in Java, you'll be interested in the open source Bean Scripting Framework from IBM.
    The Bean Scripting Framework (BSF) is an architecture for incorporating scripting into Java applications and applets. Scripting languages such as Netscape Rhino (Javascript), VBScript, Perl, Tcl, Python, NetRexx and Rexx are commonly used to augment an application's function or to script together a set of application components to form an application.

    There are many scripting languages implemented in Java, including Netscape's Rhino implementation of ECMAScript, Jacl and JPython. While each of these is embeddable in Java and provides the ability to interact with Java from the language, using a specific scripting language binds an application to that single language.

    The Java world currently does not have a well-defined scripting architecture that allows Java applications to incorporate scripting easily - BSF is such an architecture. The BSF architecture allows an application to be scripted from any BSF supported language, without any scripting language dependencies.

    BSF supports both directions of scripting: in one case where the Java-side is in charge and runs/evaluates scripts at will, and in the other case the script runs and controls Java beans. Notice that while we use the word "bean", it is used loosely - BSF works with any Java object and not just a true bean.

    --

    Trusted Computing FAQ | Free Dawit Isaak!
  4. Re:Redundant by Anonymous Coward · · Score: 5, Informative

    Looks like TrollTech is once again stealing KDE's ideas.

    I guess by "stealing" you are referring to the
    fact that trolltech hired the KDE
    developer who wrote KJS and paid him to improve
    the library, then released it as open source?

  5. Re:Redundant by valkadesh · · Score: 3, Insightful

    AFAIK, KJS is based on ECMAScript Edition 3 (implemented in JavaScript 1.5 and JScript 5.5). QSA is based on the forthcoming Edition 4, which is way different from the previous version. (Edition 4 is implemented in JScript.NET and the yet-to-be-released JavaScript 2.0).
    To learn more on ECMAScript v. 4, see here.