Patrick Shirkey wrote: > On 09/14/2009 06:54 AM, Sebastian Moors wrote: > >> Hi Orcan, >> >> thanks for the information. We could try to detect if the given qtdir >> contains the qt4 commands, but it feels dirty to override the >> environment variable settings. If i run 'QTDIR=/bla/qt4 scons' i would >> expect that scons uses /bla/qt4 and not something other if it feels like >> /bla/qt4 contains not the right executables. >> And for what i know, there is no reliable method to detect if the >> directory contains the right versions of the applications. Well, we >> could try to parse the -v output of the executables, but hey, even that >> strings can change and it gets unreliable... And the naming of the >> tools ( "-qt4") seems to be related to the distributions.. >> Do you know how other applications solve this problems? I guess we're >> not the only "only-qt4" application in fedora's application pool. >> - Sebastian >> > IIRC, the other qt4 apps I have compiled all wanted this env var set > manually. However nearly all the qt4 apps I have on my system come from > the fedora repo so I guess the packagers are setting the var before > compiling. > > What I found strange is that the svn version doesn't need me to set this > flag. Not sure why that is happening. > > The code in the archive is the code from our svn repository, there's no difference. I just did a "svn export" and put the files into the archive. There is the "scache.conf" file which saves the scons parameters, but it shouldn't save the environment variables. No idea :-/
- Sebastian ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
