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

Javascript "in" operator not working as expected for QML objects

    XMLWordPrintable

Details

    • ce698d243f31d2b9adcdf2b6b40f5844c200b159

    Description

      Javascript "in" operator can be used to check whether an object has a property or not, e.g.: '"color" in myObject'. However this doesn't seem to work for QML objects. Attached example was tested with qmlviewer from 4.7.0 beta2.

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            cmarcelo Caio Marcelo de Oliveira Filho
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes