Commit cc5c45f4 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Qmake: Re-parse project after changing the build directory



That is necessary so that the executables get updated.

Task-number: QTCREATORBUG-10107
Change-Id: I42e3ce38a5824e285546c43a3ec0045b090c6af5
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 872f87f5
......@@ -234,10 +234,13 @@ bool Qt4BuildConfiguration::isShadowBuild() const
void Qt4BuildConfiguration::setBuildDirectory(const FileName &directory)
{
if (directory == buildDirectory())
return;
BuildConfiguration::setBuildDirectory(directory);
QTC_CHECK(supportsShadowBuilds()
|| (!supportsShadowBuilds()
&& buildDirectory().toString() == target()->project()->projectDirectory()));
emitProFileEvaluateNeeded();
}
QString Qt4BuildConfiguration::makefile() const
......
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