[Development] Debug Qt on Mac

Ziller Eike Eike.Ziller at digia.com
Mon Aug 25 08:26:01 CEST 2014


On Aug 25, 2014, at 3:09 AM, Jake Petroules <jake.petroules at petroules.com> wrote:

> `export DYLD_IMAGE_SUFFIX=_debug` before running your application. Simple as that. Note that this option will be ignored if DYLD_ROOT_PATH is set.
> 
> See https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/dyld.1.html for related documentation.

And if you use Qt Creator, there is a checkbox for it in the run configuration settings for qmake/.pro based projects :)

> -- 
> Jake Petroules - jake.petroules at petroules.com
> Chief Technology Officer - Petroules Corporation
> 
> On 2014-08-24, at 11:33 AM, Jan Sundermeyer <sunderme at gmx.de> wrote:
> 
>> After compiling Qt from git on mac, debugging an application which was
>> build against that Qt-version does not allow debugging of Qt-functions
>> though of all other internal application functions.
>> Seems that the build is not linked against the debug-version of the qt libs.
>> How can that be done ?
>> _______________________________________________
>> Development mailing list
>> Development at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
> 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

-- 
Eike Ziller, Senior Software Engineer - Digia, Qt
 
Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B




More information about the Development mailing list