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

Enum entries with value -1 exported by C++ singleton are read incorrectly in QML

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      • run the attached project and build it with Qt Quick Compiler

      The running gives a log: 

      qml: PhoneNumberInvalidSingleton: undefined

      While the expected result should be as it is with out Qt Quick Compiler:

      qml: PhoneNumberInvalidSingleton: -1

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            karimpinter Karim Pinter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes