On 09/14/2009 06:54 AM, Sebastian Moors wrote:
> 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
>
>
>    


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.



Patrick Shirkey
Boost Hardware Ltd





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

Reply via email to