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

Some QML references to enum values yield bad generated C++ code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • Qt for MCUs 2.2.1
    • QUL Team
    • None

    Description

      When referencing (from QML) an enumerated value that is a member of a model's data type, the generated C++ code has an error. The attached project shows two ways in which this can happen.

       

       

      Attachments

        1. McuEnumBug.zip
          3 kB
          Brendan Lefebvre

        Activity

          People

            Unassigned Unassigned
            brendan.lefebvre Brendan Lefebvre
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: