kde4-config or KGlobal::dirs()->allTypes() minor problem

Alexander Neundorf neundorf at kde.org
Fri Jan 2 08:17:07 GMT 2009


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 ?

Alex




More information about the kde-core-devel mailing list