forked from qt-creator/qt-creator
Squish: Do not rely on default installation path
Change-Id: Iac5d45b3cbdb5ecb18d971b37189b27164abbaf3 Reviewed-by: Robert Loehning <robert.loehning@digia.com>
This commit is contained in:
@@ -217,8 +217,8 @@ def __getExpectedDebuggers__():
|
||||
debuggers = ["gdb", "lldb"]
|
||||
result.extend(filter(None, map(which, debuggers)))
|
||||
if platform.system() == 'Darwin':
|
||||
xcodeLLDB = "/Applications/Xcode.app/Contents/Developer/usr/bin/lldb"
|
||||
if os.path.exists(xcodeLLDB):
|
||||
xcodeLLDB = getOutputFromCmdline("xcrun --find lldb").strip("\n")
|
||||
if xcodeLLDB and os.path.exists(xcodeLLDB) and xcodeLLDB not in result:
|
||||
result.append(xcodeLLDB)
|
||||
return result
|
||||
|
||||
|
Reference in New Issue
Block a user