diff options
author | Eike Ziller <[email protected]> | 2025-09-10 11:24:40 +0200 |
---|---|---|
committer | Eike Ziller <[email protected]> | 2025-09-10 09:48:18 +0000 |
commit | 146ba96ca21de397e6f66c1ae5f8d28098239098 (patch) | |
tree | d43aed2a9a4bc6c32f6cca60cfdb4dda7b892b9d | |
parent | 12c889631a04725d9d29395fe871a2eabe30044c (diff) |
PySide: Fix installation
Amends b6c3c284daf9e115531880765e015bd1b89b416e
that lost the working directory for the pip install process.
Fixes: QTCREATORBUG-33477
Change-Id: I00346b2e68840b79ef647e2d514645a4b676830b
Reviewed-by: Jarek Kobus <[email protected]>
-rw-r--r-- | src/plugins/python/pipsupport.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/python/pipsupport.cpp b/src/plugins/python/pipsupport.cpp index 3baafcbca6d..be5e0ed8f36 100644 --- a/src/plugins/python/pipsupport.cpp +++ b/src/plugins/python/pipsupport.cpp @@ -75,6 +75,8 @@ Group pipInstallerTask(const PipInstallerData &data) process.setCommand({data.python, arguments}); process.setTerminalMode(data.silent ? TerminalMode::Off : TerminalMode::Run); + if (!data.workingDirectory.isEmpty()) + process.setWorkingDirectory(data.workingDirectory); auto progress = new ProcessProgress(&process); progress->setDisplayName(operation); |