I've installed Qt 5.10.0 through the macOS installer. I'm currently running OSX El Capitan 10.11.6.
Whenever I try to load any of the Qt libraries/ frameworks, I get the following warning:
warning: (x86_64) /Users/randomuser/Qt/5.10.0/clang_64/lib/QtWidgets.framework/QtWidgets empty dSYM file detected, dSYM was created with an executable with no debug info.
I can reproduce the warning simply by running lldb QtWidgets.framework
I've tried setting DYLD_IMAGE_SUFFIX=_debug, but that doesn't seem to work.
Also, running otool -L QtWidgets.framework/Versions/5/QtWidgets_debug
reports the library being linked to the release versions of QtCore and QtGui.
Any insight would be greatly appreciated, thanks!
Edit:
To elaborate on my attempt to use DYLD_IMAGE_SUFFIX, I tried the following, but it still resulted in the warning above.
export DYLD_IMAGE_SUFFIX=_debug
lldb
>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).
lldb QtWidgets.framework/Versions/5/QtWidgets_debug
it finds the correct debug symbols for this library, but it loads the release versions of its dependencies instead of the debug ones (QtCore
andQtGui
instead ofQtCore_debug
andQtGui_debug
). It appears like all the files are where they should be, but I can't get lldb to load the debug versions. – martin Jan 10 '18 at 9:22env
command, or in Xcode by setting it in the "Run" scheme of your project. – Jim Ingham Jan 10 '18 at 19:48