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

[Reg] QScriptClass::name() is not used in object's default string representation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P4: Low P4: Low
    • None
    • 4.6.0
    • Qt Script
    • None

      See tst_QScriptClass::newInstance() test.
      According to the documentation, the default string representation of a QScriptClass object should be "[object Foo]" (given that the QScriptClass::name() reimplementation returns "Foo"). But since 4.6, the string representation is always "[object Object]".

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes