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

Setting a value to a property of a child item does not work.

    XMLWordPrintable

Details

    • Windows
    • 0
    • QUL Sprint 2.4/2021, QUL Sprint 2.5/2021

    Description

      Setting a value to a property of a child item does not work when child is a property of a parent.

      Ways to reproduce:

      1) Build the attached project with Qt for MCU 1.8.0
      2) Build gives the following error: CMakeFiles\qtmcu39.dir\qtmcu39.cpp(37): error C2039: 'number': is not a member of 'Qul::Property<MySubType *>'

      qmltocpp generator fails to generate the code properly. It handles the property instead of value of property.
      Minimal change to qmltocpp output fixes the problem.

      Attachments

        Activity

          People

            jacek_poplawski Jacek Poplawski
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: