Qt static libraries - pkgconfig again

Ralf Habacker ralf.habacker at freenet.de
Sat Feb 24 12:03:38 CET 2007


Thiago Macieira schrieb:
> Leo Savernik wrote:
>   
>> Wouldn't therefore a simple -lQtUiTools suffice for every link target in
>> need of this?
>>     
>
> No, that's the whole point.
>
> Since that's a static library, you need to do:
> 	Qt 4.2: -lQtUiTools
> 	Qt 4.3: -lQtUiTools -lQtScript
>
> I am not sure the Trolls will make a dynamic library out of it. I wouldn't 
> could on it, so I urge a solution to be found that solves everyone's 
> problems once and for all.
>
>   
Do we have the used qt version at cmake configure time or are able to
detect it ? Then it looks easy to me to add one additional library at
cmake configure time.

Ralf



More information about the Kde-buildsystem mailing list