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

Enums annotated as scoped-only match unscoped with QML_SINGLETON

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes