[Qt-creator] Evaluation on Mac OSX (Eike Ziller) Successful work around found (Eike Ziller) (Eike Ziller)
G3WOE
michael at g3woe.com
Wed Jan 7 10:20:22 CET 2009
Hi
You did mention this before. The confusion arises because I assume
"Terminal" will launch and run just like any other application within
the user session scope. When you said you CAN modify the PATH using
plist, I then made an assumption you were using $PATH to verify it.
The key to my assumptions arises from this quote:-
"Mac OS X supports the definition of environment variables in the
scope of the current user session. On login, the loginwindow
application looks for a special property list file with the name
environment.plist. This file must be located in a directory
called .MacOSX at the root of the user’s home directory."
So I think you are saying:- OSX is keeping a user session environment
which can only be initialised by the environment.plist then will be
inherited by applications such as QtCreator, being in the scope of the
user session, BUT terminal does not inherit this environment despite
it running in the scope of the user session.
mm, sounds unlikely to me.
The question arises as how can this be verified?
Michael White.
On 7 Jan 2009, at 08:56, qt-creator-request at trolltech.com wrote:
> Right, if you open Terminal and do "echo $PATH" you don't get the
> entries from environment.plist. But that's not what environment.plist
> is for :)
> What PATH is set in the Terminal and what PATH is set for applications
> when they are run is completely independent from each other.
More information about the Qt-creator-old
mailing list