Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.3.0
-
None
Description
If I have something like this:
Item { id: root width: 1024 height: 768 property alias cappuccinoLabel: cappuccinoLabel property alias brewButton: brewButton property alias backButton: backButton property alias sugarSlider: sugarSlider property alias milkSlider: milkSlider property alias coffeeLabel: cappuccinoLabel.text property real coffeeAmount: 5
and in another component I do this:
selection.brewButton.onClicked: {
settings.milkSlider.value = selection.sideBar.currentMilk
settings.cappuccinoLabel.text = selection.sideBar.currentCoffee
settings.coffeeAmount = selection.sideBar.currentCoffeeAmount
applicationFlow.state = "settings"
}
Then I get an error for brewButton while everything works fine in the real application.