[CMake] FindQt4 QT_LIBRARIES
John Drescher
drescherjm at gmail.com
Thu Jul 29 16:34:46 EDT 2010
> 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
More information about the CMake
mailing list