Important: Please read the Qt Code of Conduct -

Debugging Qt with LLDB on macOS

  • Hi, I'm trying to debug Qt while using the provided macOS installer frameworks.
    I am aware of an issue with DYLD_IMAGE_SUFFIX on macOS as described here: and

    In the JIRA issue above, I can only see a resolution for Qt Creator, but I'm wondering about how one should go about debugging the frameworks with the shell command.


    >env DYLD_IMAGE_SUFFIX=_debug
    >target create QtWidgets.framework
    >warning: (x86_64) /Users/randomuser/Qt5.10.0/5.10.0/clang_64/lib/QtWidgets.framework/QtWidgets empty dSYM file detected, dSYM was created with an executable with no debug info.
    >Current executable set to 'QtWidgets.framework' (x86_64).

    Any help would be greatly appreciated, thanks!

Log in to reply