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."

7 of 33 comments (clear)

  1. Redundant by Anonymous Coward · · Score: 2, Informative
    KJS (KDE JavaScript) already provides full ecma script for any applications that choose to make themselves scriptable. The KDE controls all have basic scriptability provided, so this is redundant for KDE.


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

    1. 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?

    2. Re:Redundant by Anonymous Coward · · Score: 1, Informative

      Nice try, troll. Apple has been using KJS as part of their JavaScriptCore framework for over a year now, and have been silently adding changes back without fanfare or press releases.

      Yes, Apple publicly thanked KJS author Harri Porten, and TrollTech hired him.

      Your point again was?

  2. Re:GPL by rmull · · Score: 2, Informative

    It should probably read "for those for whom the GPL is not suitable."

    --
    See you, space cowboy...
  3. 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".

  4. 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!
  5. Re:GPL by PhilHibbs · · Score: 2, Informative

    They have released the full source to Qt on Linux under the GPL.

    They have implemented a Windows graphics layer that allows Qt applications to run on Windows. They have not released this under the GPL, which is their right.

    I wonder how much work would be involved in implementing a Windows graphics layer for Qt.