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

Port QtBase away from Q_FOREACH/foreach

    XMLWordPrintable

Details

    • 32cfe1812 (dev), 29f911ab9 (dev), 11c2a5b47 (dev), 3b6ae86ce (dev), a4d968adc (dev), c0738f9ff (dev), ba4b88d9d (dev), f493b72ee (dev), c9d8bcb9d (6.6), ed6914e01 (6.6), dc9e677f7 (6.6), db8a15de7 (6.6), 367cc461c (6.6), ce4f16da0 (6.5), 1f638b5ab (6.5)

    Description

      See epic for details.

      It should be noted that, except for QtWidgets, which got its own Jira ticket (QTBUG-115803), all remaining uses are in tests/ (auto, manual, benchmarks) and util/, as well as a few platform plugins.

      Acceptance criteria:

      • Q_FOREACH/foreach are ported away from (see porting guide in epic before attempting anything!)
      • the #undef QT_NO_FOREACH are gone
        • files that contained them are removed from NO_PCH_SOURCES
      • the above two for both library and tests

      Attachments

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

        Activity

          People

            cnn Qt Core & Network
            mmutz Marc Mutz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are 9 open Gerrit changes