[kde-doc-english] [ktuberling] doc: fix typo kde5-config -> kf5-config

Burkhard Lück lueck at hube-lueck.de
Thu May 26 08:37:46 UTC 2016


Am Donnerstag, 19. Mai 2016, 16:09:42 CEST schrieb Luigi Toscano:
> In data giovedì 19 maggio 2016 07:12:48, Burkhard Lück ha scritto:
> > Git commit e449c24b81d30f1f591bb25ae3467235e1265985 by Burkhard Lück.
> > Committed on 19/05/2016 at 07:12.
> > Pushed by lueck into branch 'master'.
> > 
> > fix typo kde5-config -> kf5-config
> 
> On vacation, so I can't answer too much, but kf5-config should not be used,
> as it is part of kdelibs4support and deprecated. The relevant paths can be
> retrieved using qtpaths. See also the discussion here:
> https://git.reviewboard.kde.org/r/124711/
> 
You are right that kf5-config is part of kdelibs4support and deprecated, but 
using
ls $(kf5-config --prefix)/share/ 
works in distribution + compiled from sources

Whereas using qtpaths or XDG_DATA* does not work:

LANG=C ls $(qtpaths --paths GenericDataLocation)
ls: cannot access '/home/bb/.local/share:/usr/share/usr/share/xsessions/
plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop': No such file or 
directory

LANG=C ls $XDG_DATA_DIRS
ls: cannot access '/usr/share//usr/share/xsessions/plasma:/usr/local/share/:/
usr/share/:/var/lib/snapd/desktop': No such file or directory

-- 
Burkhard Lück



More information about the kde-doc-english mailing list