Uploaded image for project: 'Qt for MCUs'
  1. Qt for MCUs
  2. QTMCU-250

Document the limitations when Component is referenced from unsupported context and what are the supported use cases

    XMLWordPrintable

Details

    Description

      Attached example fails to compile and it prints the following error message:
      "Properties of type "Component" are not supported"

      The example code is working in normal Qt Quick when tested so this appears to be a limitation specific in Qt for MCUs. Unfortunately this limitation is not mentioned in the documentation of the Qt for MCUs.

      Such error is printed by qml2cpp when Component is referenced from unsupported context. Referencing Components is supported only from Qul::Property<Component *>
      property bindings in Qt for MCUs.

      As a suggestion, mentioning the above limitation and what is supported should be mentioned in the documentation.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              foxxx Tuukka Kettunen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes