On Sun, Sep 13, 2009 at 3:33 PM, Sebastian Moors wrote: > Guido Scholz wrote: >> a lot of distibutions provide a *-qt4 version of the Qt development >> tools moc, uic, lupdate and lrelease. This means you can use moc-qt4, >> uic-qt4, lupdate-qt4 and lrelease-qt4 instead. A check for their >> availability may help. >> >> I don't know how scons handles such use cases but under >> autoconf/automake it is quite easy to get around such trouble by using: >> >> AC_PATH_PROGS(UIC, uic-qt4 uic, no, [$PATH:$QTDIR/bin]) >> >> The first search matches "uic-qt4", if not found the search continues >> for "uic". To set QTDIR properly can also help here. >> >> > Hi! > > That's nearly the same like we're doing in qt4.py already. > Here's the current flow (IIRC): > > 1. Is QTDIR set? If yes, use it to determine the paths of uic etc. > 2. If not 1: Look for "moc-qt4". If found, determine the path for > moc-qt4 and use this as a hint for QTDIR. > 3. Look for tools like lupdate, uic etc. with the help of QTDIR > > I suppose this should work as long as you don't set your QTDIR to the > location of QT3.
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. Orcan ------------------------------------------------------------------------------ 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
