trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2016

Re: [trinity-devel] TDE apps and automake

From: "Dr. Nikolaus Klepp" <office@...>
Date: Mon, 11 Jan 2016 12:00:43 +0100
Am Samstag, 9. Januar 2016 schrieb deloptes:
> Hi,
> 
> 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:
> https://wiki.trinitydesktop.org/KApplication_template
> 
> 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` test.cc -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 \
>         test.cc -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?

Hi!

I have installed 14.0.[23] from slavecs repository on devuan and "pkg-config tqt" works as expected. In detail your "/opt/trinity/include" and "/opt/trinity/lib/pkgconfig" does not exist on my system, but "/usr/include/tqt3" does.


Nik


-- 
Please do not email me anything that you are not comfortable also sharing with the NSA.