diff options
Diffstat (limited to 'src/plugins/debugger/debuggeritemmanager.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeritemmanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggeritemmanager.cpp b/src/plugins/debugger/debuggeritemmanager.cpp index 04c8723d2c..3b42bcf50f 100644 --- a/src/plugins/debugger/debuggeritemmanager.cpp +++ b/src/plugins/debugger/debuggeritemmanager.cpp @@ -745,7 +745,8 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers() if (HostOsInfo::isMacHost()) { SynchronousProcess proc; proc.setTimeoutS(2); - proc.runBlocking({"xcrun", {"--find", "lldb"}}); + proc.setCommand({"xcrun", {"--find", "lldb"}}); + proc.runBlocking(); if (proc.result() == QtcProcess::Finished) { QString lPath = proc.allOutput().trimmed(); if (!lPath.isEmpty()) { |