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

QSGItem has no 'hasOwnProperty'

    XMLWordPrintable

Details

    • 6f146a5d2ea893b13e4cfcd90243e66f7c9a0083

    Description

      After V8 integration:

      import QtQuick 2.0
      
      Item {
          id: item
          Component.onCompleted: {
              console.log(item.hasOwnProperty("objectName")); // TypeError: Property 'hasOwnProperty' of object QSGItem(0x26e1010) is not a function
          }
      }
      

      Attachments

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

        Activity

          People

            chriadam Christopher Adams (closed Nokia identity) (Inactive)
            jpnurmi J-P Nurmi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes