Orcan Ogetbil wrote:
> Yes, this is exactly the problem with Fedora. QTDIR is set to qt3 by
> default. I have to reset it to qt4 in order to build hydrogen. I don't
> know about other distributions.
>   
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

------------------------------------------------------------------------------
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
Hydrogen-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to