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

Custom enumeration not supported by qt's signal system

    XMLWordPrintable

    Details

    • Platform/s:
      Windows

      Description

      When working with enum of custom size, the qt signal / slot system seems not to be able to convert it correctly to *int* type.
      This bug only seems to appear when dealing with enum that are less than 4 bytes. 

      I attached a sample project that register a simple C++ class containing an *std::uint16_t* enum. The Qml code will not receive undefined value, but rather random values.

        Attachments

        1. EnumBug.zip
          5 kB
          Matthieu Moinvaziri
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            fabiankosmale Fabian Kosmale
            Reporter:
            matthieumv Matthieu Moinvaziri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes