From: Robin Farine Date: Sun, 25 Sep 2005 20:46:10 GMT Subject: Re: [ANNOUNCE qgit-0.95] Message-ID: In-Reply-To: <200509252056.04403.Josef.Weidendorfer@gmx.de> Josef Weidendorfer gmx.de> writes: > On Sunday 25 September 2005 09:07, Marco Costalba wrote: > > >> src/rangeselectbase.h QSettings: error creating /.qt > > >>QSettings: error creating /.qt > > ... > > QSettings are there from day one :-< > > I am not able to let them disappear.....very bad. In any case should be > > harmless. > > These errors seam to appear because scons does NOT pass through the $HOME > environment variable to subprocesses. "moc", which is producing these > errors, obviously wants to access some config options in $HOME/.qt/. > > Somebody knows how to change this? With SCons, key-value pairs that are meant to appear in process environment need to be added to the env['ENV'] mapping. In this case: env = Environment(...) env['ENV']['HOME'] = os.environ['HOME'] Environment() creates an SCons build environment which is unrelated to subprocess environments (even though the same word is used :)). As a special case, SCons handles the mapping assigned to env['ENV'] as process environment for subprocesses. Hope this helps, Robin