Commit 9aea8087 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

QbsProjectManager: Fix build config comparison.



The current code compares a flat map against the tree-ified version,
which will never be equal.

Change-Id: I99d82d87635e5ccacc5a5709bced9a30f62d4018
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 0f094e32
......@@ -427,7 +427,7 @@ void QbsProject::parse(const QVariantMap &config, const Environment &env, const
const qbs::Project &currentProject = qbsProject();
if (!m_forceParsing
&& currentProject.isValid()
&& currentProject.projectConfiguration() == params.buildConfiguration()) {
&& currentProject.projectConfiguration() == params.finalBuildConfigurationTree()) {
QHash<QString, QString> usedEnv = currentProject.usedEnvironment();
bool canSkip = true;
for (QHash<QString, QString>::const_iterator i = usedEnv.constBegin();
......
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