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

LinearGradient example issues warning

    XMLWordPrintable

Details

    Description

      I only tested the dev branch, so I don't know if 5.5 is affected.

      Using http://doc.qt.io/qt-5/qml-qtgraphicaleffects-lineargradient.html with qmlscene:

      import QtQuick 2.0
      import QtGraphicalEffects 1.0
      
      Item {
          width: 300
          height: 300
      
          LinearGradient {
              anchors.fill: parent
              start: Qt.point(0, 0)
              end: Qt.point(0, 300)
              gradient: Gradient {
                  GradientStop { position: 0.0; color: "white" }
                  GradientStop { position: 1.0; color: "black" }
              }
          }
      }
      
      qml/QtGraphicalEffects/LinearGradient.qml:254:16: Unable to assign [undefined] to QQuickItem*
      

      Attachments

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

        Activity

          People

            sletta Gunnar Sletta
            ske Steve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes