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

REG[6.6 → 6.7]: QML: unscoped enums stopped working

    XMLWordPrintable

Details

    • 9d19d7e6e (6.7), 4fccb4b59 (dev), 54abc984d (6.7.0)

    Description

      In 6.7rc either the default for handling scoped enums changed, or there's something broken. There's no way to restore the old behaviour with

      Q_CLASSINFO("RegisterEnumClassesUnscoped", "true")
      

      Hopefully this is not changed in other point releases (6.5.x, 6.6.x), because it massively breaks compatibility and would force us to adjust 350+ enums here. Additionally this breaks only at runtime in QML and there's no runtime or compile warning at all.

      Attachments

        Issue Links

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

          Activity

            People

              fabiankosmale Fabian Kosmale
              cajus Cajus Pollmeier
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes