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

Philippe philwave at gmail.com
Mon Oct 4 19:57:56 CEST 2010


Thanks, this was useful. Though my real problem was that
DYLD_FRAMEWORK_PATH was not set correctly, and my application were using
the Qt prebuilt binaries (that contain no debug symbols in 4.7).

Philippe

On Sun, 03 Oct 2010 21:17:29 +0100
Dair Grant <dair at refnum.com> wrote:

> 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/
> 
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest





More information about the Qt-interest-old mailing list