Qt5.6. Commercial - Unable to start lldb on MAC OSX
-
Hi
i downloaded Qt 5.6.0 commercial edition but i'm unable to debug my desktop application. I'm using Qt 5.3.2 as kit and XCode is correctly installed and working.
With Qt 5.4 open source edition i didn't have any problem. I tried a rebuild and the rie-creation of the .pro.user.Debugger says Unable to start lldb at his path but lldb is there and working.
How can i fix this?
-
Hi and welcome to devnet,
You should add which version of OS X and Xcode you are using.
-
Are you using the latest version of Qt Creator ?
-
Sorry, I wasn't precise enough: Qt Creator 4 ?
-
No problem:
OS is 10.10.5 YOSEMITE
XCode 7.2.1 (7C1002)
QT 5.6 Commercial
QT Creator 4.0.0 From revision 605ea627cc
lldb-340.4.119.1
[Scrrenshot] https://dl.dropboxusercontent.com/u/3995257/Xcode_qt56_commercial.pngThanks you for your time
P -
@SGaist Hi
It seems i found a solution using part of the answer at this list
[QTForum]https://forum.qt.io/topic/64316/can-t-debug-qt5-5-1-lldb-on-osx/3I needed to path the file dumper.py adding:
def hexencode(self, s): + if not s: + return '' if sys.version_info[0] == 2: return s.encode("hex")
-
Great ! What puzzles me is that it should already be part of Qt Creator 4… Are you using the Beta or release version ?
-
Well, there's an offline installer for both versions, hence my question about Beta vs Release.
-
I have a similar error with QtCreator 4.0.2 (release version downloaded from qt.io). The fix above is not applicable because the Python files appear to already have the equivalent code.
I have Qt 5.6.0, built from the commercial source, and Xcode 7.1.1 on Yosemite.When I try to debug my project I get an error: Unable to start LLDB "/Applications.Xcode.app/Contents/Developer/usr/bin/lldb": chdir: No such file or directory. This path was autodetected by QtCreator. It does exist and I can run lldb from the commandline at that location using the same user I launched QtCreator with.