Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7322

Multiple issues with Extending QML documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 4.7.0
    • 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".

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brasser Michael Brasser (closed Nokia identity) (Inactive)
            mathiasm Mathias Malmqvist
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes