[Qgis-developer] Replacing Q_FOREACH in Qgis code

David Marteau dmarteau at 3liz.com
Thu Jan 19 01:28:35 PST 2017


Hi,

I would like to know if there is plans for replacing Q_FOREACH (use discouraged from QT 5.7) with C++11 range based loop in QGIS code and if it is appropriate to start the move in new PR ?

Some références:
http://doc.qt.io/qt-5/qtglobal.html#Q_FOREACH
http://en.cppreference.com/w/cpp/language/range-for
https://www.kdab.com/goodbye-q_foreach/

Thx
David


More information about the Qgis-developer mailing list