Commit 0f1c97ee authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix switching of of shadow building

parent 9bcfd348
......@@ -250,11 +250,15 @@ bool TargetSetupPage::setupProject(Qt4ProjectManager::Qt4Project *project)
info.isTemporary = false;
}
QString directory = info.directory;
if (!info.isShadowBuild)
directory = project->projectDirectory();
// we want to havbe two BCs set up, one to build debug, the other to build release.
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig,
info.additionalArguments, info.directory));
info.additionalArguments, directory));
targetInfos.append(BuildConfigurationInfo(info.version, info.buildConfig ^ QtVersion::DebugBuild,
info.additionalArguments, info.directory));
info.additionalArguments, directory));
}
// create the target:
......
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