forked from qt-creator/qt-creator
QmakeProject: Simplify QmakeProject::updateBuildSystemData
destDir isn't used after a certain point, no need to update it anymore. Change-Id: I106ce6a521425811b3fa352724e4bed7ac8d7d48 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
This commit is contained in:
@@ -1062,15 +1062,11 @@ void QmakeProject::updateBuildSystemData()
|
|||||||
else
|
else
|
||||||
workingDir = destDir;
|
workingDir = destDir;
|
||||||
} else {
|
} else {
|
||||||
destDir = ti.buildDir.toString();
|
|
||||||
workingDir = ti.buildDir.toString();
|
workingDir = ti.buildDir.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (HostOsInfo::isMacHost() && config.contains("app_bundle")) {
|
if (HostOsInfo::isMacHost() && config.contains("app_bundle"))
|
||||||
const QString infix = '/' + ti.target + ".app/Contents/MacOS";
|
workingDir += '/' + ti.target + ".app/Contents/MacOS";
|
||||||
workingDir += infix;
|
|
||||||
destDir += infix;
|
|
||||||
}
|
|
||||||
|
|
||||||
BuildTargetInfo bti;
|
BuildTargetInfo bti;
|
||||||
bti.targetFilePath = FileName::fromString(executableFor(proFile));
|
bti.targetFilePath = FileName::fromString(executableFor(proFile));
|
||||||
|
Reference in New Issue
Block a user