Finding qmake

Benjamin Reed rangerrick at gmail.com
Fri Jun 23 17:20:35 CEST 2006


On 6/23/06, Simon Perreault <nomis80 at nomis80.org> wrote:

> Currently, FindQt4.cmake searches for "qmake" before "qmake-qt4". I think
> that's wrong and that it should be reversed.
>
> Why: When qmake (from Qt3) and qmake-qt4 are in the $PATH, the check fails
> unless the order is reversed.

It seems like there's always going to be cases where one's more
correct than the other.

How about checking the version of each one, and pick the highest one?
Then it will always be "correct".


More information about the Kde-buildsystem mailing list