[Interest] how to use Qt debug libraries in Xcode

Tor Arne Vestbø Tor.arne.Vestbo at qt.io
Thu Jul 23 10:38:41 CEST 2020


Does your Qt install have the _debug version of the libraries? The binary SDK download nowadays is release only, but with separate debug info. If you need to debug Qt you may need to build it from source.

tor arne 

> On 23 Jul 2020, at 10:32, Hamish Moffatt <hamish at risingsoftware.com> wrote:
> 
> Hi,
> 
> I need to run with the Qt debug libraries in Xcode in order to debug a weird problem I'm having side Qt.
> 
> https://doc.qt.io/qt-5/debug.html says to set DYLD_IMAGE_SUFFIX=_debug, but my attempts at this are not working.
> 
> In the Xcode project's run/debug scheme, DYLD_IMAGE_SUFFIX is already set to $(QT_LIBRARY_SUFFIX). I have changed it there to _debug but that didn't help. I have also tried setting QT_LIBRARY_SUFFIX when running qmake but that also did nothing.
> 
> What is the correct way to set this? I think I've had it working in the past but not since Qt 5.8 or so.
> 
> 
> Hamish
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list