Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtScript engine in 5.2.1

QtScript engine in 5.2.1

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mohsen
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

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

      (Z(:^

      1 Reply Last reply
      0
      • sierdzioS Offline
        sierdzioS Offline
        sierdzio
        Moderators
        wrote on last edited by
        #3

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

        (Z(:^

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mohsen
          wrote on last edited by
          #4

          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?

          1 Reply Last reply
          0
          • sierdzioS Offline
            sierdzioS Offline
            sierdzio
            Moderators
            wrote on last edited by
            #5

            I do not know that.

            (Z(:^

            1 Reply Last reply
            0
            • JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by
              #6

              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?

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mohsen
                wrote on last edited by
                #7

                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 :)

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mohsen
                  wrote on last edited by
                  #8

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

                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved