qt5base-lts/mkspecs/features/unix
Tor Arne Vestbø 1b73c202ce 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>
2017-07-07 18:09:45 +00:00
..
bsymbolic_functions.prf take advantage of new safety regarding build config resolution 2013-02-18 15:52:39 +01:00
hide_symbols.prf Distinguish between Objective-C and Objective-C++ sources 2015-10-09 15:15:17 +00:00
largefile.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
opengl.prf Use qtConfig throughout in qtbase 2016-08-19 04:28:05 +00:00
separate_debug_info.prf macOS: Add LLDB debug script when building with separate debug info (dSYM) 2017-07-07 18:09:45 +00:00
thread.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
x11.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
x11inc.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
x11lib.prf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
x11sm.prf Remove all references to X11 session management 2012-06-01 03:15:55 +02:00