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

        For Gerrit Dashboard: QTBUG-66067
        # Subject Branch Project Status CR V

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes