QtScript engine in 5.2.1

  • Hi,
    What's the engine used in QtScript in 5.2.1? Is it webkit SFX or the new V4 interpreter engine?

  • Moderators

    QtScript has not been changed since Qt 4. V4 is being used by QML only.

  • Moderators

    You've asked about the engine: it's JavaScriptCore.

  • Thanks for your reply.
    I took a look at source codes and found there's a "compile" method which the engine is calling when evaluating. Yes it is JavaScriptCore but since JavaScriptCore is not developing anymore i thought that it could be same squirrelfish-extreme (SFX) which is calling JavaScriptCore here.
    Am i true?
    I don't even see any SFX related folder or source name in the webkit's main repository.
    I just want to understand if the current JavaScriptCore is the same SFX?

  • Moderators

    I do not know that.

  • Moderators

    I believe that Qt Script is deprecated, and not actively developed any more. Also, Qt WebKit does not use Qt Script.

    What do you want to use it for?

  • from the wiki:

    bq. JavaScriptCore is often referred with different names, such as ​SquirrelFish and ​SquirrelFish Extreme. Within the context of Safari, Nitro and Nitro Extreme (the marketing terms from Apple) are also commonly used. However, the name of the project and the library is always JavaScriptCore.
    JavaScriptCore source code resides in WebKit source tree, it's under ​Source/JavaScriptCore directory.

    Thanks anyway :)

  • @JKSH:
    actually it is being investigated for if it can be used in a big enterprise application. It can make our task very easy using QtScript module and it's very important for us to make sure that it is using the SFX engine.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.