Commit 878e38a2 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Use shadowbuilding information from Qt versions

parent c5b5127b
......@@ -285,10 +285,12 @@ TargetSetupPage::importInfosForKnownQtVersions(Qt4ProjectManager::Qt4Project *pr
validVersions.append(vm->versions().at(0)); // there is always one!
foreach (QtVersion *v, validVersions) {
ImportInfo info;
// ToDo: Check whether shadowbuilding is possible and use sourcedir if not:
// This needs a shadowbuilding patch to land
if (project) = project->defaultTopLevelBuildDirectory();
if (project) {
if (v->supportsShadowBuilds()) = project->defaultTopLevelBuildDirectory();
else = project->projectDirectory();
info.isExistingBuild = false;
info.isTemporary = false;
info.version = v;
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