Macro Documentation

 

Q_FOREACH(variable, container)

Same as foreach(variable, container).

This macro is available even when no_keywords is specified using the .pro file's CONFIG variable.

Since Qt 5.7, the use of this macro is discouraged. It will be removed in a future version of Qt. Please use C++11