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 macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users