[Qt-creator] Stepping into Qt code on OS X? - Picture 2.png (1/1)

Stephen Chu stephen at ju-ju.com
Tue Feb 16 16:45:39 CET 2010


In article <127A4169-65DE-43FE-B14F-1A1B0B3D8889 at nokia.com>,
 Eike Ziller <eike.ziller at nokia.com> wrote:

> On Feb 16, 2010, at 3:34 PM, ext Stephen Chu wrote:
> 
> > In article <hlc1e1$ebe$1 at eple.troll.no>,
> > Stephen Chu <stephen at ju-ju.com> wrote:
> > 
> >> On 2/15/2010 6:15 AM, Eike Ziller wrote:
> >>> Hi,
> >>> 
> >>> On Feb 12, 2010, at 5:36 PM, ext Stephen Chu wrote:
> >>> 
> >>>> I am using 4.6 Qt SDK for Mac. I find that I can not step into Qt source
> >>>> code like I can on Windows.
> >>>> 
> >>>> Does the Qt libs in SDK download not include debug information? Or I
> >>>> just didn't configure it right?
> >>> 
> >>> The Qt binary distribution contains both "debug" and "release" variants 
> >>> of
> >>> the libraries.
> >>> But you have to explicitly tell the runtime linker that you want to use 
> >>> the
> >>> debug libs - using release libs is the default, even if your application 
> >>> is
> >>> compiled as "debug".
> >>> If you use a qmake / pro-file based project in Qt Creator you can set a
> >>> flag in your run configuration, in Projects mode, in the run 
> >>> configuration
> >>> select "Use debug version of frameworks".
> >>> For more detailed information about debugging on the Mac, the 
> >>> corresponding
> >>> Apple documentation page is an interesting read:
> >>> http://developer.apple.com/mac/library/technotes/tn2004/tn2124.html
> >>> 
> >>> Please also note that Mac OS X Snow Leopard (10.6) has a bug, that can be
> >>> worked around like described here:
> >>> http://bugreports.qt.nokia.com/browse/QTBUG-4962
> >>> 
> >> 
> >> Thanks for the help. I will try that once I have access to my Mac at
> >> work on Tuesday.
> >> 
> >> Any plan on making this automatic?
> > 
> > OK. That doesn't work. The attached screenshot was taken with a project
> > with "Use debug version of frameworks (DYLD_IMAGE_SUFFIC=_debug)" and
> > the latest Creator 1.3.8 snapshot.
> 
> Sorry, I can't see your screenshot, it's attached as text.
> 
> ++ Eike

Sorry. Forgot I was posting via NNTP. Here's the screen capture:
http://farm5.static.flickr.com/4002/4362798640_95cc2e0e2f_o.png

-- 
Stephen Chu



More information about the Qt-creator-old mailing list