To have Qt types in pretty shape in XCode lldb debugger use code from KDevelop project:
This has to be done only once.
- Clone git://anongit.kde.org/kdevelop
- command script import /Users/oomel/kdevelop/plugins/lldb/formatters/qt.py
This has to be done only once.
ВідповістиВидалитиdiff --git a/plugins/lldb/formatters/qt.py b/plugins/lldb/formatters/qt.py
index ece10a1476..d5d053eb7c 100644
--- a/plugins/lldb/formatters/qt.py
+++ b/plugins/lldb/formatters/qt.py
@@ -23,7 +23,7 @@ from __future__ import print_function
import time
import datetime as dt
import string
-from urlparse import urlsplit, urlunsplit
+from urllib.parse import urlsplit, urlunsplit
import locale
import lldb