Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
-
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
Gerrit Reviews
For Gerrit Dashboard: QTBUG-115839 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
497179,2 | tst_QKeyEvent: compile with QT_NO_FOREACH | dev | qt/qtbase | Status: NEW | +2 | 0 |
497247,5 | Benchmarks: port Q_FOREACH to ranged-for | dev | qt/qtbase | Status: NEW | +2 | 0 |
497250,2 | tst_bench_qhash: compile with QT_NO_FOREACH | dev | qt/qtbase | Status: NEW | +2 | 0 |