[Qt-creator] Stepping into Qt code on OS X?

Stephen Chu stephen at ju-ju.com
Mon Feb 15 18:48:51 CET 2010


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?



More information about the Qt-creator-old mailing list