Bug 175178

Summary: Compile fails when linking with qca
Product: [Developer tools] buildsystem Reporter: Ambroz Bizjak <ambrop7>
Component: KDE4 (cmake)Assignee: Alexander Neundorf <neundorf>
Status: RESOLVED FIXED    
Severity: normal CC: finex, montel, rakuco
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Ambroz Bizjak 2008-11-15 00:27:12 UTC
Version:            (using Devel)
Compiler:          gcc (GCC) 4.2.4 (Gentoo 4.2.4 p1.0) 
OS:                Linux
Installed from:    Compiled sources

KDE packages from trunk that link against QCA fail to build, with the error "cannot find -lqca". Examples are kdegames and kdegraphics.

The problem was introduced by commit 882802 and is still present in 883966. Reverting kdelibs/cmake/modules/FindQCA2.cmake to the previous version solves it.

I suppose the appropriate link flags are not being passed, as I have qca libraries in /usr/lib/qca2, and pkg-config correctly lists link flags.
Comment 1 Raphael Kubo da Costa 2009-08-25 04:06:48 UTC
This one seems to have been fixed by the following commits. Closing.