Michael,
I'm using OSX 10.6.7, XCode 4.0 Build 4A304a and MacPorts 2.0.3
The compiler used was /Developer/usr/bin/llvm-g++-4.2
Cheers,
On 14/10/11 10:01 PM, Michael Dickens wrote:
Hi Kieran - Can you provide the versions of OS, XCode, and MacPorts that you're
using? I'll admit that I have't tried debugging Qt stuff in a long time, so
... - MLD
On Oct 14, 2011, at 5:37 AM, Kieran Simpson wrote:
I noticed when debugging a segfault, even though my binary was linked to the
Qt_debug libraries no line numbers or other symbols were available. My
investigation found that no -g flags were passed to the Makefile.Debug LFLAGS,
thus when the shared library was built the symbols disappeared.
I added the flags (-g -gdwarf-2 like what was in CXXFLAGS) and rebuilt Qt and
retried my gdb session. I got symbols, line numbers, code listings, etc.
Given that the Makefiles are generated from the qmake project files, is the bug
in the way that they are generated or is this an upstream problem with the Qt
release?
The port was qt4-mac @4.7.4_0+debug+quartz
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users