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

QML AnchorChanges do not compile in strict mode

    XMLWordPrintable

Details

    Description

      The following does not compile in strict mode:

      AnchorChanges {
          target: myRect
      
          // could not compile binding for top: Cannot generate efficient code for internal
          // conversion with incompatible or ambiguous types: QQuickItem::top with type
          // QQuickAnchorLine (stored as QVariant) -> QQuickItem::top with type QQuickAnchorLine
          // (stored as QVariant)
      
          anchors.top: window.top
          anchors.bottom: window.bottom
      }
      

      To reproduce, run attached example.

      Attachments

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

        Activity

          People

            olivier.decanniere Olivier De Cannière
            lysandra.sola Lysandra Sola
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes