KStandardDirs and locale path

Albert Astals Cid aacid at kde.org
Wed Jul 31 20:26:04 UTC 2013


El Dimecres, 31 de juliol de 2013, a les 10:44:41, Chusslove Illich va 
escriure:
> > [: Albert Astals Cid :]
> > After reading qt5 code it seems you can use XDG_DATA_DIRS to inject
> > directories in GenericDataLocation, well, it's not that bad i guess
> 
> I've just used this fact in a unit test initialization (via qputenv), to
> point to the location of test-specific catalogs. So it works as such.
> 
> But now I wonder how should the proposed directory binding method combine
> with this. Should it have *lower* priority than XDG_DATA_DIRS? It seems to
> me that otherwise the original feature would be lost, the user would not be
> able to override the location any more.
> 
> On the other hand, maybe the directory binding method should not be added at
> all. For example, I've located the piece of code that Sebastian referred
> to, and that should be ported by simply deleting all insertCatalog calls.
> (In general, by removing all traces of translation handling for
> out-of-library code: applets, dataengines, etc.)

IMHO removing the feature if it's not needed it's OK.

Cheers,
  Albert


More information about the Kde-frameworks-devel mailing list