Filipe Sousa schrieb: > 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
That?s interesting and sound like a real good idea. But that still means there is a fix for FoundQt4.cmake needed. If I understand the mails at http://lists.trolltech.com/qt4-preview-feedback/2006-09/thread00083-0.html correctly, the QT_*_LIBRARY?s and QT_*_LIBRARY_DEBUG?s from FindQt4.cmake must be the same if QTVERSION in FindQt.cmake matches "4.2.*" Is that correct? Greetings Jens _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
