Re: [CMake] Using debug libraries in Qt frameworks with both debug and release libraries

2009-06-09 Thread Michael Jackson

http://doc.trolltech.com/4.5/mac-differences.html

Which will then send you to:

http://developer.apple.com/technotes/tn2004/tn2124.html#SECDEBUGLIB

and the next section following that:

http://developer.apple.com/technotes/tn2004/tn2124.html#SECJUSTONELIB

HTH
_
Mike Jackson  mike.jack...@bluequartz.net
BlueQuartz Softwarewww.bluequartz.net
Principal Software Engineer  Dayton, Ohio



On Jun 9, 2009, at 11:26 AM, Moreland, Kenneth wrote:

I recently compiled Qt on my Mac with frameworks that contain both  
debug and release versions of their libraries.  I hoped (perhaps  
naively) that the debug libraries would be used whenever I performed  
a debug compile of ParaView.  No such luck.  The release libraries  
are always used.  Does anyone know how to get CMake to grab the  
debug libraries from the Qt frameworks during debug builds?


-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] Using debug libraries in Qt frameworks with both debug and release libraries

2009-06-09 Thread Clinton Stimpson


Its done at runtime by setting the DYLD_IMAGE_SUFFIX environment 
variable to "_debug"

http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/dyld.1.html

You can also add your own softlinks in the framework if you want to make 
your own suffix as _debug is common and will pull in other debug libs 
than just the Qt ones.


Clint

Moreland, Kenneth wrote:
I recently compiled Qt on my Mac with frameworks that contain both 
debug and release versions of their libraries.  I hoped (perhaps 
naively) that the debug libraries would be used whenever I performed a 
debug compile of ParaView.  No such luck.  The release libraries are 
always used.  Does anyone know how to get CMake to grab the debug 
libraries from the Qt frameworks during debug builds?


-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***  
*** *** ***  email: kmo...@sandia.gov

**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel 





___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[CMake] Using debug libraries in Qt frameworks with both debug and release libraries

2009-06-09 Thread Moreland, Kenneth
I recently compiled Qt on my Mac with frameworks that contain both debug and 
release versions of their libraries.  I hoped (perhaps naively) that the debug 
libraries would be used whenever I performed a debug compile of ParaView.  No 
such luck.  The release libraries are always used.  Does anyone know how to get 
CMake to grab the debug libraries from the Qt frameworks during debug builds?

-Ken

     Kenneth Moreland
***  Sandia National Laboratories
***
*** *** ***  email: kmo...@sandia.gov
**  ***  **  phone: (505) 844-8919
***  web:   http://www.cs.unm.edu/~kmorel

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake