Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
4.6.0
-
None
-
qt-kinetic-kinetic-declarativeui-snapshot-20091210130805
-
c9dcaed1d6eef6a15cc8266cff68636487aa3352
Description
This report applies to the Extending QML documentation here
http://qt.nokia.com/doc/qml-snapshot/qml-extending.html
ISSUES
1) The document describes QML_DEFINE_TYPE as having 5 arguments:
#define QML_DEFINE_TYPE(URI,VMAJ,VMIN,QmlName,T)
However it now appears a 6th argument has been added, causing compiler errors when used as described.
(Does the same issue apply to QML_DEFINE_EXTENDED_TYPE?)
2) On the "Extending QML - Adding Types Example" page being linked to
http://qt.nokia.com/doc/qml-snapshot/declarative-extending-adding.html
the "example.qml" file referred to in the example.qrc file is missing from the "Files" section, preventing the example from compiling.
3) In the "Attached Properties" section, the document says:
"In the example shown, BirthdayParty is called the attaching type, and the Box instance the attachee object instance."
where instead of "Box" it should say "Boy".