> 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 _______________________________________________ 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