diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2021-11-09 15:35:52 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2021-11-10 10:30:00 +0000 |
commit | f84f430caf9704754a10d4747977b2729f40376b (patch) | |
tree | 66b939c9c5d0d9854e36940cc2ab68c4a73f1906 | |
parent | 4303e62c50e6a6fa7057978f5dec1c3408613a8b (diff) |
Debugger: Set "PYTHONHOME" for Androids lldb as native path
The correct path separators in this case make the difference beween
breaking on a breakpoint or not.
Change-Id: Ia33682e559ffe172a571bec6b78b32fca14d98f5
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | src/plugins/debugger/debuggeritem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeritem.cpp b/src/plugins/debugger/debuggeritem.cpp index 85206926fb..687149193f 100644 --- a/src/plugins/debugger/debuggeritem.cpp +++ b/src/plugins/debugger/debuggeritem.cpp @@ -273,7 +273,7 @@ bool DebuggerItem::addAndroidLldbPythonEnv(const Utils::FilePath &lldbCmd, Utils const FilePath pythonBinDir = HostOsInfo::isAnyUnixHost() ? pythonDir.pathAppended("bin") : pythonDir; if (pythonBinDir.exists()) { - env.set("PYTHONHOME", pythonDir.path()); + env.set("PYTHONHOME", pythonDir.toUserOutput()); env.prependOrSetPath(pythonBinDir.path()); return true; } |