Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7066

QtScript regressions (Global Object & prototypes)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 4.6.3
    • 4.6.0
    • Qt Script
    • None
    • Test against Qt4.6 is done on Ubuntu 8.04.1, with self built Qt 4.6.0. Test against Qt4.5 is done on Ubuntu 9.10 with the official deb packages from Ubuntu.
    • 06add85eb8a9bd8f53acd162ce665d46e7ebc137

      I wrote a simple program to demonstrate the problems.

      On Qt4.6, I got output:

      QScriptValue::setScriptClass() failed: cannot change class of non-QScriptObject
      "method1" Fail: 100
      "method2" Fail: 100
      "method3" OK
      "method4" Fail: 100
      "method5" OK

      On Qt4.5, I got output:

      "method1" OK
      "method2" OK
      "method3" OK
      "method4" OK
      "method5" OK

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kenthans Kent Hansen (Inactive)
            idlecat511 Tiger Dong
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes