David Faure
2011-09-17 08:54:25 UTC
Does Qt have the concept of a libexec directory?
I.e. a directory that contains executables that are used by library code, and
that shouldn't be in $PATH so as not to bother users.
I'm porting code to QStandardPaths::findExecutable, and realizing that it only
looks in PATH, so it doesn't have support for other directories like libexec.
But I don't see how it could "guess" where to look, since this isn't typically
determined by an environment variable...
(For an example of what this is all about, ls /usr/lib*/kde4/libexec/)
I.e. a directory that contains executables that are used by library code, and
that shouldn't be in $PATH so as not to bother users.
I'm porting code to QStandardPaths::findExecutable, and realizing that it only
looks in PATH, so it doesn't have support for other directories like libexec.
But I don't see how it could "guess" where to look, since this isn't typically
determined by an environment variable...
(For an example of what this is all about, ls /usr/lib*/kde4/libexec/)
--
David Faure, ***@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
David Faure, ***@kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).