{"thread":{"id":"1938","subject":"Re: [ANNOUNCE qgit-0.95]","startedAt":"2005-09-25T07:07:19Z","lastAt":"2005-09-25T20:46:10Z","messageCount":3,"participants":["Marco Costalba","Josef Weidendorfer","Robin Farine"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"9253","messageId":"20050925070719.67119.qmail@web26309.mail.ukl.yahoo.com","threadId":"1938","inReplyTo":null,"subject":"Re: [ANNOUNCE qgit-0.95]","fromName":"Marco Costalba","fromEmail":"mcostalba@yahoo.it","sentAt":"2005-09-25T07:07:19Z","receivedAt":"2005-09-25T07:07:19Z","isPatch":false,"sender":{"key":"mcostalba@gmail.com","avatar":null},"body":"Alan Chandler wrote:\n\n>On Sunday 25 Sep 2005 07:32, Alan Chandler wrote:\n>...\n>\n>>However when I run make I get errors of the form shown below (QSettings\n>>errors) and eventually the compile stage fails.\n>>\n>>/usr/share/qt3/bin/uic -o src/rangeselectbase.h src/rangeselectbase.ui\n>>/usr/share/qt3/bin/uic -impl rangeselectbase.h -o\n>>src/uic_rangeselectbase.cc src/rangeselectbase.ui\n>>/usr/share/qt3/bin/moc -o src/moc_rangeselectbase.cc src/rangeselectbase.h\n>>QSettings: error creating /.qt\n>>QSettings: error creating /.qt\n>>QSettings: error creating /.qt\n>>QSettings: error creating /.qt\n>>QSettings: error creating /.qt\n>>QSettings::sync: filename is null/empty\n>>QSettings: error creating /.qt\n>>QSettings::sync: filename is null/empty\n>>QSettings: error creating /.qt\n>>QSettings::sync: filename is null/empty\n>>g++ -O2 -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/qt3\n>>-I/usr/share/qt3/include -c -o src/git_startup.o src/git_startup.cpp\n>>src/git_startup.cpp: In member function `void Git::parseReadFromStdout()':\n>>src/git_startup.cpp:473: error: jump to label `resume'\n>>src/git_startup.cpp:439: error:   from here\n>>src/git_startup.cpp:467: error:   crosses initialization of `newCommits*nc'\n>>scons: *** [src/git_startup.o] Error 1\n>>scons: building terminated because of errors.\n>>make: *** [all] Error 2\n>>alan@kanger qgit-0.95 $\n>\n>\n>Although the QSettings are still there, fixing up git_startup.cpp as per \n>Pasky's patch fixed it for me\n>\n\nQSettings are there from day one :-<\nI am not able to let them disappear.....very bad. In any case should be harmless.\n\nThis morining I have updated the downloads with Pasky's patch.\n\nMarco\n\n\n__________________________________________________\nDo You Yahoo!?\nTired of spam?  Yahoo! Mail has the best spam protection around \nhttp://mail.yahoo.com \n"},{"id":"9267","messageId":"200509252056.04403.Josef.Weidendorfer@gmx.de","threadId":"1938","inReplyTo":"20050925070719.67119.qmail@web26309.mail.ukl.yahoo.com","subject":"Re: [ANNOUNCE qgit-0.95]","fromName":"Josef Weidendorfer","fromEmail":"josef.weidendorfer@gmx.de","sentAt":"2005-09-25T18:56:03Z","receivedAt":"2005-09-25T18:56:03Z","isPatch":false,"sender":{"key":"josef.weidendorfer@gmx.de","avatar":null},"body":"On Sunday 25 September 2005 09:07, Marco Costalba wrote:\n> >> src/rangeselectbase.h QSettings: error creating /.qt\n> >>QSettings: error creating /.qt\n> ...\n> QSettings are there from day one :-<\n> I am not able to let them disappear.....very bad. In any case should be\n> harmless.\n\nThese errors seam to appear because scons does NOT pass through the $HOME\nenvironment variable to subprocesses. \"moc\", which is producing these\nerrors, obviously wants to access some config options in $HOME/.qt/.\n\nSomebody knows how to change this?\n\nJosef\n"},{"id":"9279","messageId":"loom.20050925T222758-893@post.gmane.org","threadId":"1938","inReplyTo":"200509252056.04403.Josef.Weidendorfer@gmx.de","subject":"Re: [ANNOUNCE qgit-0.95]","fromName":"Robin Farine","fromEmail":"robin.farine@terminus.org","sentAt":"2005-09-25T20:46:10Z","receivedAt":"2005-09-25T20:46:10Z","isPatch":false,"sender":{"key":"robin.farine@terminus.org","avatar":null},"body":"Josef Weidendorfer <Josef.Weidendorfer <at> gmx.de> writes:    \n  \n> On Sunday 25 September 2005 09:07, Marco Costalba wrote:    \n> > >> src/rangeselectbase.h QSettings: error creating /.qt    \n> > >>QSettings: error creating /.qt    \n> > ...    \n> > QSettings are there from day one :-<    \n> > I am not able to let them disappear.....very bad. In any case should be    \n> > harmless.    \n>     \n> These errors seam to appear because scons does NOT pass through the $HOME    \n> environment variable to subprocesses. \"moc\", which is producing these    \n> errors, obviously wants to access some config options in $HOME/.qt/.    \n>     \n> Somebody knows how to change this?    \n    \nWith SCons, key-value pairs that are meant to appear in process    \nenvironment need to be added to the env['ENV'] mapping. In this  \ncase:  \n   \n    env = Environment(...)  \n    env['ENV']['HOME'] = os.environ['HOME']   \n   \nEnvironment() creates an SCons build environment which is unrelated  \nto subprocess environments (even though the same word is used :)).  \nAs a special case, SCons handles the mapping assigned to env['ENV']  \nas process environment for subprocesses.  \n  \nHope this helps,  \n  \nRobin    \n \n    \n"}]}