forked from qt-creator/qt-creator
Python: map building directory to pyside project device
Change-Id: If261483864a5e4a13554fdefbf3d9076b7d1f687 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -62,7 +62,9 @@ PySideBuildStep::PySideBuildStep(BuildStepList *bsl, Id id)
|
||||
m_pysideProject->setFilePath(pySideProjectPath);
|
||||
|
||||
setCommandLineProvider([this] { return CommandLine(m_pysideProject->filePath(), {"build"}); });
|
||||
setWorkingDirectoryProvider([this] { return target()->project()->projectDirectory(); });
|
||||
setWorkingDirectoryProvider([this] {
|
||||
return target()->project()->projectDirectory().onDevice(m_pysideProject->filePath());
|
||||
});
|
||||
setEnvironmentModifier([this](Environment &env) {
|
||||
env.prependOrSetPath(m_pysideProject->filePath().parentDir());
|
||||
});
|
||||
|
Reference in New Issue
Block a user