qmake-qt4 vs. qmake vs. qmake-qt3

David Faure faure at kde.org
Wed Mar 22 23:37:43 CET 2006


On Wednesday 22 March 2006 23:31, Alexander Neundorf wrote:
> > On Wednesday 22 March 2006 23:05, David Faure wrote:
> > > On Wednesday 22 March 2006 22:59, Matthias Kretz wrote:
> > > > On Wednesday 22 March 2006 20:05, Alexander Neundorf wrote:
> > > > > prefer moc-qt4, uic-qt4 and qmake-qt4 over moc, uic and qmake
> > > >
> > > > Why? My qt-copy doesn't create such an executable.
> > >
> > > Then it doesn't apply to you.
> > >
> > > > so it picks up the wrong Qt in any case as we need qt-copy ATM.
> > >
> > > Just put qt-copy/bin in your PATH?
> > 
> > The proplem is if you have a Qt4 package from your distro that installs a 
> > qmake-qt4 and qt-copy/bin first in PATH it will still pick qmake-qt4 first, 
> > no?
> > FIND_PROGRAM apparently first tries to find the first executable in all 
> > paths, only then it tries with the second...
> 
> Somehow I think it is not possible to guess which one is the right one.
> If it would prefer qmake over qmake-qt4, other people might complain for which 
> qmake points to qmake-qt3 whereas qmake-qt4 would have been the Qt4-one...
> 
> It's no problem to change it back, but no matter which option we choose, there 
> will probably always be situations where the wrong one can be found.

That's true. Unless we start having some "looking at the target of the qmake symlink" logic.
Debian doesn't make this easy for us :(

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).



More information about the Kde-buildsystem mailing list