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.
Attachments
For Gerrit Dashboard: QTCREATORBUG-18362 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
202145,2 | QmlJs: fix false positives for properties | 4.4 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |