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

QDeclarativeExpression::evaluate returns an QObjectList with null pointers for arrays

    XMLWordPrintable

Details

    • 03192f749c14ffdde24d3e1585fadf98f9750938

    Description

      For a JavaScript list expression a la

      ["one", "two", "three"]
      

      QDeclarativeExpression::evaluate returns a QList<QObject*> with three null elements.

      The culprit is QDeclarativeEnginePrivate::scriptValueToVariant when it is called with

      hint == qMetaTypeId<QList<QObject *> >()
      

      Attachments

        For Gerrit Dashboard: QTBUG-17082
        # Subject Branch Project Status CR V

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            jbornema Joerg Bornemann
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes