[KDE/Mac] QStandardPaths possible solution

Christoph Cullmann cullmann at absint.com
Wed Jan 7 20:24:06 UTC 2015


> On 07 Jan 2015, at 21:12 , Christoph Cullmann <cullmann at absint.com> wrote:
> 
> > Hmm, why is /opt/local/share hardcoded but not /usr/local/share? I think
> > the last one
> > is often used, too, e.g. by Homebrew.
> 
> I guess it wouldn’t do any harm to include that path as well. :)
> 
> However, on MacPorts the qt5-mac port maintainer would surely want to replace
> "/opt/local”
> with the actually set contents of $prefix (which normally IS set of course to
> "/opt/local”,
> but may IT MAY in principle differ)! This happens when a user installs
> her/his MacPorts tree
> under a non-standard prefix.
Hmm, perhaps than zero hard coded paths should be there and only the $ENV-Var should be used?

As you need to document this for Qt, too, that would be anyway easier.

Greetings
Christoph

-- 
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH      Email: cullmann at AbsInt.com
Science Park 1                         Tel:   +49-681-38360-22
66123 Saarbrücken                      Fax:   +49-681-38360-20
GERMANY                                WWW:   http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234


More information about the kde-mac mailing list