forked from qt-creator/qt-creator
Environment: Fix incorrect usage of appendOrSet
appendOrSet will append to existing environment variables which is not what we want for all the changed locations in this commit. Change-Id: Icf6b110acc59261659839375672943ec21923da1 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -179,8 +179,8 @@ void LldbEngine::setupEngine()
|
||||
|
||||
showMessage("STARTING LLDB: " + lldbCmd.toUserOutput());
|
||||
Environment environment = runParameters().debugger.environment;
|
||||
environment.appendOrSet("QT_CREATOR_LLDB_PROCESS", "1");
|
||||
environment.appendOrSet("PYTHONUNBUFFERED", "1"); // avoid flushing problem on macOS
|
||||
environment.set("QT_CREATOR_LLDB_PROCESS", "1");
|
||||
environment.set("PYTHONUNBUFFERED", "1"); // avoid flushing problem on macOS
|
||||
DebuggerItem::addAndroidLldbPythonEnv(lldbCmd, environment);
|
||||
|
||||
if (lldbCmd.osType() == OsTypeLinux) {
|
||||
|
||||
Reference in New Issue
Block a user