FindQt4.cmake cleanup, please test

Paulo Moura Guedes moura at kdewebdev.org
Sat Oct 21 00:18:26 CEST 2006


On Friday 20 October 2006 22:45, David Faure wrote:
> Now that we're using Qt-4.2, we can clean up FindQt4.cmake to stop looking
> for QtCore_debug.so etc.

What changed?

> My main motivation being more speed and less confusing output (about many
> libs not being found).
>
> This means we can clean up the whole QT_FOO_LIBRARY_DEBUG/_RELEASE stuff,
> too, except on Windows. Does only msvc have debug versions of the libs, or
> does that apply to mingw too? The current code says if(MSVC) so I kept it
> that way.

Only msvc needs to link to the same kind of libraries (debug or release), 
mingw doesn't has this constraint. Also the VS IDE need both versions of the 
libs to work.

> Also, what's QT_${basename}_LIBRARIES used for? That one isn't documented.

Probably for nothing, but I'm not sure.

> Here's my suggestion for a FindQt4 cleanup. It works for me, but it would
> be a good idea to get it tested on other systems, including Mac and Windows
> (msvc and mingw), before I commit.

I can only test next monday on msvc and mingw.

Paulo


More information about the Kde-buildsystem mailing list