[CMake] FindQt4 for Qt 4.2.0 does not recognise debug-libs

Filipe Sousa filipe at ipb.pt
Thu Oct 19 05:47:57 EDT 2006


Jens wrote:
> Hi,
> 
> FindQt4.cmake does not handle the new filenames of Qt-4.2.0-debug-libs.
> 
> I compiled Qt 4.2.0 from source and see that the debug-libs changed
> their names to "libQt*.so.4.2.0.debug" on linux.

These are not debug libraries. Qt 4.2.0 by default splits the debug info
from libraries with objcopy:

 objcopy --only-keep-debug "$targ" "$targ.debug" && objcopy
--strip-debug "$targ" && objcopy --add-gnu-debuglink="$targ.debug" "$targ"

AFAIK qt 4.2.0 does not generate debug and release libs at the same sime


-- 
Filipe Sousa

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20061019/d0411921/signature.pgp


More information about the CMake mailing list