[Qt-interest] setting DYLD_IMAGE_SUFFIX=_debug environment variable
John Weeks
john at wavemetrics.com
Thu Aug 26 21:55:20 CEST 2010
Today I started working with a Qt 4.6.3 build for debugging so that I
can step into the Qt code. On Macintosh OS X, there are instructions
"If you set DYLD_IMAGE_SUFFIX=_debug, you get the debug version." It
would be nice if that instruction said that you should set the
*environment variable"...
Anyway, once I figured out it was an environment variable and not a
compiler macro, it worked nicely, allowing me to step into code that's
compiled into a framework.
Now my real question: is there something I can add to the .pro file
that will generate the Xcode setting that sets that environment
variable when I debug my application? To set it in Xcode, I select my
application in the Executables group in the project window and choose
Get Info. In the Info window, select Arguments and you enter the
environment variable definition in the Variables to be set in the
environment window.
Now I change my .pro file, run qmake to regenerate my Xcode project,
and my setting is gone. I'd like that setting to be made by qmake.
Regards,
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
email support at WaveMetrics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100826/a0c3983e/attachment.html
More information about the Qt-interest-old
mailing list