diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-05-15 18:04:26 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-07-07 18:09:45 +0000 |
commit | 1b73c202ce907cd03864413f472bfeb5abf5151e (patch) | |
tree | 3c2c744bebdb9ea4c77d7372fdddf8303b4e1513 /src/corelib/Qt5Config.cmake.in | |
parent | ddcbe23f20757790ebab4b554f9cfcc77871f08e (diff) |
macOS: Add LLDB debug script when building with separate debug info (dSYM)
The script will look for the most recent Qt Creator version on the system,
and pick up the LLDB summary providers from there, allowing pretty-printing
of Qt types inside LLDB/Xcode.
LLDB will detect the file when loading the dSYM, and inform the user that
the file can be loaded to enable the formatters. The script can be loaded
automatically by adding the following setting in ~/.lldbinit:
settings set target.load-script-from-symbol-file true
Which comes as a slight security risk, as other libraries might have
scripts of their own. The alternative is to load the script directly
from ~/.lldbinit:
command script import "<path to debug script in dSYM>"
With an optional target.load-script-from-symbol-file set to false, to
silence the warning when loading the dSYM bundle.
Change-Id: I01ba51dab725a8d0a58f1ad1749742443b639cc5
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/Qt5Config.cmake.in')
0 files changed, 0 insertions, 0 deletions