diff options
| author | Christian Stenger <christian.stenger@qt.io> | 2018-09-25 15:16:46 +0200 |
|---|---|---|
| committer | Christian Stenger <christian.stenger@qt.io> | 2018-09-26 04:42:37 +0000 |
| commit | 7de461e40b549a914ff4d19ad7530d724440994b (patch) | |
| tree | da6970cc3eb5873d0b4308943d789716d845928e /src/plugins/debugger/debuggersourcepathmappingwidget.cpp | |
| parent | 3f4438e2ebc796fd5b2eab7018f270b6477f7d77 (diff) | |
| download | qt-creator-7de461e40b549a914ff4d19ad7530d724440994b.tar.gz | |
Debugger: Fix use of external debug info for installer-based Qt
On macOS. This amends ada0e43c93. Fixes the default build directory
on macOS as this is different compared to Linux.
Beside this the patch passes the configured mappings of build dir and
source locations to the lldb.
Task-number: QTCREATORBUG-20693
Change-Id: I4258c09ec96fbdc1a713ae82df6bcab04129570c
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggersourcepathmappingwidget.cpp')
| -rw-r--r-- | src/plugins/debugger/debuggersourcepathmappingwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp index 6ed1196c96..67915d8cfa 100644 --- a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp +++ b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp @@ -61,6 +61,8 @@ QStringList qtBuildPaths() "C:/work/build/qt5_workdir/w/s", "c:/users/qt/work/qt", "c:/Users/qt/work/install"}; + } else if (HostOsInfo::isMacHost()) { + return { "/Users/qt/work/qt" }; } else { return { "/home/qt/work/qt" }; } |
