[Qt-interest] Qt debug symbols on OS X / configure

Dair Grant dair at refnum.com
Sun Oct 3 22:17:29 CEST 2010


Philippe wrote:

> How to use "configure" to build Qt on OS X **with debug symbols**?
> I can build successfully the debug frameworks, but no debug symbol are
> generated.
> Using XCode 3.2.2.
> This is the command line I use:
> 
> ./configure -prefix . -carbon -framework -debug-and-release -prefix-install
> -nomake examples -nomake demos -commercial -confirm-license
> 
> I also tried the following options, without success:
> -separate-debug-info
> -dwarf2

The options we use are:

  ./configure -opensource -confirm-license -cocoa
              -platform macx-g++42 -arch "x86 x86_64 ppc"
              -debug-and-release -dwarf2
              -no-qt3support -no-exceptions
              -nomake demos -nomake examples
              -prefix /Developer/Qt/4.7.0
              -sdk /Developer/SDKs/MacOSX10.5.sdk

That builds a set of frameworks that allow source-level debugging (when
Xcode is set to apply DYLD_IMAGE_SUFFIX=_debug to the executable being
debugged).


-dair
___________________________________________________
dair at refnum.com              http://www.refnum.com/





More information about the Qt-interest-old mailing list