qt5base-lts/tests/auto/tools
Ahmad Samir 6864576577 tst_qmakelib: compile with QT_NO_FOREACH
proEval(), proParser(): the loop was iterating over a temporary so it
couldn't have changed it. Hold the container in a const auto variable
and use ranged-for.

formatValue(): iterating over a const QList& parameter, and the container
isn't changed at the call sites during iterating, so Q_FOREACH wasn't
needed to beging with. Use ranged-for instead.

Task-number: QTBUG-115839
Change-Id: Idabe0bbd84b5bcc86cef275f80497651353a4d9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2023-08-19 19:17:17 +03:00
..
macdeployqt tst_macdeplyqt: unbreak runVerifyDeployment() 2023-08-15 17:40:22 +00:00
moc tst_moc: compile with QT_NO_FOREACH 2023-08-19 19:17:17 +03:00
qdbuscpp2xml Fix registration of QtDBus types' metatypes 2023-08-14 20:19:36 -07:00
qdbusxml2cpp qdbusxml2cpp: Improve error reporting 2023-07-06 21:51:25 +02:00
qmake tst_qmake: compile with QT_NO_FOREACH 2023-08-19 19:17:17 +03:00
qmakelib tst_qmakelib: compile with QT_NO_FOREACH 2023-08-19 19:17:17 +03:00
qt_cmake_create CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
rcc tst_rcc: port away from Q_FOREACH 2023-08-08 22:03:05 +02:00
uic CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
windeployqt CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests/tools: only run qdbus{cpp2xml,xml2cpp} tests if D-Bus is available 2023-08-14 20:19:36 -07:00