-----Original Message----- From: John Drescher [mailto:dresche...@gmail.com] Sent: 29 July 2010 21:35 To: Hicham Mouline; CMake mailing list Subject: Re: [CMake] FindQt4 QT_LIBRARIES
> It does crash currently with release libs for relwithdebingfo config. If I > link against debug libs, it doesn't crash. > The question is: when config is relwithdebingfo, how can I get > TARGET_LINK_LIBRARIES to pick the debug version of the libs from > QT_LIBRARIES? > I use Qt release libs with my RelWithDebInfo all the time (2+ years). Since that is the only release build that I use with CMake. I would use depends to verify what .dlls are being used. This one case with a crash I believe I forgot to build 1 lib for RelWithDebInfo and that ended up bringing in Qt debug. John ----------------------------------------- You are right. Apologies. I had other libraries that had the debug version (linked against debug runtime) and that was the culprit (std::string). Now all libs are release with RelWithDebInfo and that works. Rds, _______________________________________________ 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