Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24742

In some cases QML code model doesn't recognize objectName

XMLWordPrintable

      There are some cases where it shows M16 error for objectName for all derived types (Rectangle for example), but it shows up correctly for QtObject. This also can happen with some kits and works fine with others.

      So something like this can be shown as an error:

      Rectangle {
       objectName: "x"
      }
      

      But this works:

      QtObject {
       objectName: "x"
      }
      

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

            fawzi Fawzi Mohamed
            poikelin Joni Poikelin
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes