[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kde4-config or KGlobal::dirs()->allTypes() minor problem
From:       Alexander Neundorf <neundorf () kde ! org>
Date:       2009-01-04 14:05:41
Message-ID: 200901041505.41292.neundorf () kde ! org
[Download RAW message or body]

On Friday 02 January 2009, Alexander Neundorf wrote:
> Hi,
>
> kde4-config can tell me the location of its library and include dir:
> hammer:~$ /opt/kdelibs/bin/kde4-config --install lib
> /opt/kdelibs/lib/
> hammer:~$ /opt/kdelibs/bin/kde4-config --install include
> /opt/kdelibs/include/
>
>
> But kde4-config --types mentions none of both, although kde4-config has the
> code to document both. The reason is that KGlobal::dirs()->allTypes()
> doesn't contain these two directories.
>
> So, what's the right fix ?
> Add lib and include to allTypes() or just add the output of these two
> options to kdelibs/kdecore/kde-config.cpp ?

I committed a hack to kde-config.cpp which makes it print the documentation 
for the missing directories:
http://lists.kde.org/?l=kde-commits&m=123107235031273&w=2

Alex


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic