# Re: [ANNOUNCE qgit-0.95]

3 messages from 2005-09-25 to 2005-09-25. Participants: Marco Costalba, Josef Weidendorfer, Robin Farine.
Thread: https://gitlist.dev/t/1938

## Marco Costalba, 2005-09-25 07:07

Subject: Re: [ANNOUNCE qgit-0.95]
Message-ID: <20050925070719.67119.qmail@web26309.mail.ukl.yahoo.com>
URL: https://gitlist.dev/e/20050925070719.67119.qmail%40web26309.mail.ukl.yahoo.com

```
Alan Chandler wrote:

>On Sunday 25 Sep 2005 07:32, Alan Chandler wrote:
>...
>
>>However when I run make I get errors of the form shown below (QSettings
>>errors) and eventually the compile stage fails.
>>
>>/usr/share/qt3/bin/uic -o src/rangeselectbase.h src/rangeselectbase.ui
>>/usr/share/qt3/bin/uic -impl rangeselectbase.h -o
>>src/uic_rangeselectbase.cc src/rangeselectbase.ui
>>/usr/share/qt3/bin/moc -o src/moc_rangeselectbase.cc src/rangeselectbase.h
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings: error creating /.qt
>>QSettings::sync: filename is null/empty
>>QSettings: error creating /.qt
>>QSettings::sync: filename is null/empty
>>QSettings: error creating /.qt
>>QSettings::sync: filename is null/empty
>>g++ -O2 -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/qt3
>>-I/usr/share/qt3/include -c -o src/git_startup.o src/git_startup.cpp
>>src/git_startup.cpp: In member function `void Git::parseReadFromStdout()':
>>src/git_startup.cpp:473: error: jump to label `resume'
>>src/git_startup.cpp:439: error:   from here
>>src/git_startup.cpp:467: error:   crosses initialization of `newCommits*nc'
>>scons: *** [src/git_startup.o] Error 1
>>scons: building terminated because of errors.
>>make: *** [all] Error 2
>>alan@kanger qgit-0.95 $
>
>
>Although the QSettings are still there, fixing up git_startup.cpp as per 
>Pasky's patch fixed it for me
>

QSettings are there from day one :-<
I am not able to let them disappear.....very bad. In any case should be harmless.

This morining I have updated the downloads with Pasky's patch.

Marco


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

```

## Josef Weidendorfer, 2005-09-25 18:56

Subject: Re: [ANNOUNCE qgit-0.95]
Message-ID: <200509252056.04403.Josef.Weidendorfer@gmx.de>
URL: https://gitlist.dev/e/200509252056.04403.Josef.Weidendorfer%40gmx.de
In-Reply-To: <20050925070719.67119.qmail@web26309.mail.ukl.yahoo.com>

```
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?

Josef

```

## Robin Farine, 2005-09-25 20:46

Subject: Re: [ANNOUNCE qgit-0.95]
Message-ID: <loom.20050925T222758-893@post.gmane.org>
URL: https://gitlist.dev/e/loom.20050925T222758-893%40post.gmane.org
In-Reply-To: <200509252056.04403.Josef.Weidendorfer@gmx.de>

```
Josef Weidendorfer <Josef.Weidendorfer <at> 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    
 
    

```
