also, happens with a non-SDK app, e.g. from http://qt-project.org/doc/qt-5/qml-tutorial2.html
import QtQuick 2.0
Item { id: container property alias cellColor: rectangle.color signal clicked(color cellColor)
width: 40; height: 25
Rectangle { id: rectangle border.color: "white" anchors.fill: parent }
MouseArea { anchors.fill: parent onClicked: container.clicked(container.cellColor) } }
also, happens with a non-SDK app, e.g. from http:// qt-project. org/doc/ qt-5/qml- tutorial2. html
import QtQuick 2.0
Item {
id: container
property alias cellColor: rectangle.color
signal clicked(color cellColor)
width: 40; height: 25
Rectangle {
border. color: "white"
anchors. fill: parent
id: rectangle
}
MouseArea {
anchors. fill: parent clicked( container. cellColor)
onClicked: container.
}
}