Commit 9798dd75 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

No BuildConfigurations is OK for certain projects

... so do only error out when we have non but still have a factory
to build them with.
parent db150ab6
...@@ -278,7 +278,7 @@ bool Target::fromMap(const QVariantMap &map) ...@@ -278,7 +278,7 @@ bool Target::fromMap(const QVariantMap &map)
if (i == activeConfiguration) if (i == activeConfiguration)
setActiveBuildConfiguration(bc); setActiveBuildConfiguration(bc);
} }
if (buildConfigurations().isEmpty()) if (buildConfigurations().isEmpty() && buildConfigurationFactory())
return false; return false;
int rcCount(map.value(QLatin1String(RC_COUNT_KEY), 0).toInt(&ok)); int rcCount(map.value(QLatin1String(RC_COUNT_KEY), 0).toInt(&ok));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment