forked from qt-creator/qt-creator
Qmake: Use local Makefile path when constructing make command
The command will be executed by qmake and make steps on the build device, from that perspective the Makefile path is local. Change-Id: I7a72002126975ea462daf528f2c1f490d433af77 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -216,7 +216,9 @@ bool QMakeStep::init()
|
||||
m_qmakeCommand = CommandLine{qtVersion->qmakeCommand(), allArguments(qtVersion), CommandLine::Raw};
|
||||
m_runMakeQmake = (qtVersion->qtVersion() >= QtVersionNumber(5, 0 ,0));
|
||||
|
||||
QString makefile = workingDirectory.toString() + '/';
|
||||
// The Makefile is used by qmake and make on the build device, from that
|
||||
// perspective it is local.
|
||||
QString makefile = workingDirectory.path() + '/';
|
||||
|
||||
if (qmakeBc->subNodeBuild()) {
|
||||
QmakeProFileNode *pro = qmakeBc->subNodeBuild();
|
||||
|
Reference in New Issue
Block a user