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?
thanks
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 01/11/2016 08:00 PM, Dr. Nikolaus Klepp wrote:
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
To the original poster (since I did not receive the original email, not the second time request). If you are using debian or ubuntu, the best way to build is to use the info in the tde-packagin repo which contains all the required info. If not, a good way is to look at the build log files of the nightly builds, which contains all the build options used for such distros. If you are using a different distro, you could probably reuse most of the options, if not all of them ;-)
Cheers Michele