I'm trying to compile my old Qt project on another system: Windows XP, Qt5, msvc 2010.
I used c++11 auto in my project, there is a line CONFIG += c++11 in the pro file.
for(auto e : mapTerm->keys())
{
mapTerm->insert(e, attrib.value(e).toString());
}
Now it cannot recognize the auto loop and gives me syntax errors.