Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
None
-
None
-
Qt Quick 2.0 documentation website
Description
Docs about Component::createObject() are to be found here:
http://qt-project.org/doc/qt-5.0/qtqml/qml-qtquick2-component.html#createObject-method
or here:
http://doc-snapshot.qt-project.org/5.0/qtqml/qml-qtquick2-component.html#createObject-method
in both places it explains that "this method accepts an optional properties argument that specifies a map of initial property values for the created object" and "[...] also allows property bindings to be set up before the object is created."
In fact, the values given in that argument are set as assignments, not bindings, so the documentation phrasing is somewhat misleading in that respect. It should be rewritten to clarify the actual behavior.
Attachments
For Gerrit Dashboard: QTBUG-29650 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
48005,1 | Clarify Component::createObject docs | stable | qt/qtdeclarative | Status: MERGED | +2 | 0 |