Message: previous - next
Month: January 2016

TDE apps and automake

From: deloptes <deloptes@...>
Date: Sat, 09 Jan 2016 13:38:46 +0100

I asked already once but there was no answer.
How can I get the cflags and libs for TDE applications?

I read and followed this manual:

I updated the code sample to use the new (r14) headers.

I then found out I had to do following

export PKG_CONFIG_PATH=/opt/trinity/lib/pkgconfig

c++  `pkg-config tqt --cflags` `pkg-config tqt --libs` -o test

but it was unsufficient. I had to change to following to be able to compile

c++  `pkg-config tqt --cflags` -I/opt/trinity/include \ 
     `pkg-config tqt --libs` -L/opt/trinity/lib -ltdecore -ltdeui \ -o test

So why is no pkg-config for tdecore and tdeui ?
or how can I use cmake from within automake project to get what I need?