qmake: remove use of Java-style iterators
They will be deprecated, so qmake wouldn't compile anymore. Change-Id: I42212fdf213df696d736ed34458f7e79bd902dd5 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
0efc6a88b6
commit
4b09d5a78d
@ -1231,9 +1231,7 @@ ProjectBuilderMakefileGenerator::writeMakeParts(QTextStream &t)
|
|||||||
<< "\t\t\t" << writeSettings("runOnlyForDeploymentPostprocessing", "0", SettingsNoQuote) << ";\n"
|
<< "\t\t\t" << writeSettings("runOnlyForDeploymentPostprocessing", "0", SettingsNoQuote) << ";\n"
|
||||||
<< "\t\t};\n";
|
<< "\t\t};\n";
|
||||||
|
|
||||||
QMapIterator<ProString, ProStringList> it(embedded_plugins);
|
for (auto it = embedded_plugins.cbegin(), end = embedded_plugins.cend(); it != end; ++it) {
|
||||||
while (it.hasNext()) {
|
|
||||||
it.next();
|
|
||||||
QString suffix = !it.key().isEmpty() ? (" (" + it.key() + ")") : QString();
|
QString suffix = !it.key().isEmpty() ? (" (" + it.key() + ")") : QString();
|
||||||
QString grp3("Embed PlugIns" + suffix), key3 = keyFor(grp3);
|
QString grp3("Embed PlugIns" + suffix), key3 = keyFor(grp3);
|
||||||
project->values("QMAKE_PBX_BUILDPHASES").append(key3);
|
project->values("QMAKE_PBX_BUILDPHASES").append(key3);
|
||||||
|
Loading…
Reference in New Issue
Block a user