cmake Qt4 experiment in rawhide

Orion Poplawski orion at cora.nwra.com
Wed Oct 23 17:20:41 UTC 2013


cmake's UseQt4 module automatically adds linkage for "dependent" modules when 
requesting certain module usage.  This caused at least one case of 
over-linkage for plplot (linking in QtXml when it used QtSvg).

I've just built a new cmake for rawhide that completely disbles this 
functionality.  This means that if a program makes direct use of a Qt module 
it would need to ask for it (e.g. with set(QT_USE_QTXML 1)).

I'm curious to know what if anything breaks with this.  Please let me know if 
a package of yours no longer builds with this change.  FWIW - I've rebuilt 
kdelibs and digikam locally as smoke tests with no problem.  But I'll be happy 
to revert if it causes too much grief.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the kde mailing list