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

Cannot use Q_DECLARE_FLAGS for nested class

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9
    • Build tools: moc
    • None

    Description

      Replacing this line here
      https://codereview.qt-project.org/c/qt/qtbase/+/574883/10/src/network/access/qnetworkaccesscache_p.h#52

      with Q_DECLARE_FLAGS(Options, Option)

      leads to a

      qnetworkaccesscache_p.h(57:1): error: Meta object features not supported for nested classes

      compilation error.

      The macro expands to a typdef, it is not using meta object features.

      Attachments

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

        Activity

          People

            fabiankosmale Fabian Kosmale
            mate Máté Barany
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes