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

Enums annotated as scoped-only match unscoped with QML_SINGLETON

    XMLWordPrintable

Details

    • 4ceb343e7 (dev), 0a0f17d5b (6.7)

    Description

      It seems if you have a QML_SINGLETON class which annotates enums with

       Q_CLASSINFO("RegisterEnumClassesUnscoped", "false")
      

      It's still possible to match the enum values as unscoped.

      Please see the attached reproducer. Hopefully it's basic expectations are fine. The reproducer has a singleton and a non-singleton QML type, and compare the matchings.

      Attachments

        Issue Links

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

          Activity

            People

              ulherman Ulf Hermann
              vuokko Juha Vuolle
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes