forked from qt-creator/qt-creator
Python: Prepend pyside6-project path to PATH env variable
Otherwise pyside6-project cannot find uic or rcc or might use those tools from another pyside installation. Change-Id: I34eff2fc2627b07a18a705e5d658bd7cf8ce9350 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -87,6 +87,9 @@ PySideBuildStep::PySideBuildStep(BuildStepList *bsl, Id id)
|
||||
|
||||
setCommandLineProvider([this] { return CommandLine(m_pysideProject->filePath(), {"build"}); });
|
||||
setWorkingDirectoryProvider([this] { return target()->project()->projectDirectory(); });
|
||||
setEnvironmentModifier([this](Environment &env) {
|
||||
env.prependOrSetPath(m_pysideProject->filePath().parentDir());
|
||||
});
|
||||
}
|
||||
|
||||
void PySideBuildStep::updatePySideProjectPath(const Utils::FilePath &pySideProjectPath)
|
||||
|
Reference in New Issue
Block a user