Reputation: 15
My application is running very well inside Ubuntu operational system. But when I try to run it inside the Yocto using Boot2Qt it throws the following error message:
QML ToolBar (parent or ancestor of Material): Binding loop detected for property "foreground"
Here is a spinet of my code that throws this error.
Page{
id: mainPage
anchors.fill: parent
visible: true
header: ToolBar{id: toolBarHeader
parent: mainPage
height: root.toolBarHeight
anchors.left: parent.left
anchors.top: parent.top
anchors.right: parent.right
anchors.topMargin: 0
anchors.leftMargin: 0
Material.background: Material.color(Material.BlueGrey, functionsJS.toolBarIntensity())
Here is the result that I'm getting: nasty application response:
Trying to figure out what is going on. I've done this:
Page{
id: mainPage
anchors.fill: parent
visible: true
header: ToolBar{id: toolBarHeader
parent: mainPage
height: root.toolBarHeight
anchors.left: parent.left
anchors.top: parent.top
anchors.right: parent.right
anchors.topMargin: 0
anchors.leftMargin: 0
background: Rectangle{anchors.fill: parent; color: "red"}}
End now, I'm getting this: Maybe problem with material?:
Upvotes: 0
Views: 183