cmake Qt4 experiment in rawhide

Kevin Kofler kevin.kofler at chello.at
Sat Oct 26 22:05:11 UTC 2013


Orion Poplawski wrote:
> 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.

Most KDE stuff doesn't use UseQt4 to begin with, but uses the QT_*_LIBRARIES 
etc. variables directly.

        Kevin Kofler



More information about the kde mailing list