kde4-config or KGlobal::dirs()->allTypes() minor problem
Alexander Neundorf
neundorf at kde.org
Sun Jan 4 14:05:41 GMT 2009
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
More information about the kde-core-devel
mailing list