Qmake: Move buildDir() from ProFileNode to QmakeBuildSystem

More a buildsystem than a node thing in general and removes
one use of activeBuildSystem and one use of the ProFileNode
-> ProFile back pointers.

Change-Id: Ie007fcd0db9e9294a08b3a1cd68f825c7d3dc9b8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-03-20 14:55:49 +01:00
parent a040bebe5d
commit 80a766a2cb
9 changed files with 23 additions and 33 deletions

View File

@@ -178,7 +178,7 @@ bool QMakeStep::init()
FilePath workingDirectory;
if (qmakeBc->subNodeBuild())
workingDirectory = qmakeBc->subNodeBuild()->buildDir(qmakeBc);
workingDirectory = qmakeBc->qmakeBuildSystem()->buildDir(qmakeBc->subNodeBuild()->filePath());
else
workingDirectory = qmakeBc->buildDirectory();