[CMake] another name for Qt4 qmake

Bill Hoffman bill.hoffman at kitware.com
Tue Jan 2 16:55:54 EST 2007


Bill Hoffman wrote:
> Matthieu Brucher wrote:
>> First qmake-qt4 or qmake4, qmake is also used for Qt3, so the 
>> can-confuse qmake should not be searched for first.
>
> This should be fixed in the current cmake release.  It should do this:
>
> 1. look for qmake
>  -  if the qmake it finds is for qt3 then look for qmake-qt4
> 2. look for qmake-qt4
>
> I have tested this on a machine with qmake and qmake-qt4 in the PATH 
> and it
> correctly finds qmake-qt4.
Opps, I sent that too quick....

It should look for qmake4 after qmake, but it should also look for 
qmake4 if it finds a qmake that is qt3.
Basically do the same thing that is done for qmake-qt4.

-Bill



More information about the CMake mailing list