Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
Description
When running the below example I get "QDeclarativeExpression: Expression "(function $text()
{ return parent.objectName })" depends on non-NOTIFYable properties:
QDeclarativeRectangle::objectName"
warnings on the output.
It might be an idea to either add a objectNameChanged signal to QObject or to suppress the warning inside Qt.
I use the objectName to create tooltips for indentification purposes during development.
import Qt 4.7
Rectangle {
height : 200
width : 200
color : "lightsteelblue"
objectName : "someRectangle"
Text
}