[cmake-developers] Fwd: Bug#392473: cmake: FindQT4 doesn't find qt4 if qt3 is installed
Bill Hoffman
bill.hoffman at kitware.com
Thu Oct 12 09:47:25 EDT 2006
At 09:08 AM 10/12/2006, Brad King wrote:
>Andy Cedilnik wrote:
>> ---------- Forwarded message ----------
>> From: *Jiøí Paleèek* <jpalecek at web.de <mailto:jpalecek at web.de>>
>> Date: Oct 11, 2006 5:07 PM
>> Subject: Bug#392473: cmake: FindQT4 doesn't find qt4 if qt3 is installed
>> To: "submit at bugs.debian.org <mailto:submit at bugs.debian.org>"
>> <submit at bugs.debian.org <mailto:submit at bugs.debian.org>>
>>
>> Package: cmake
>> Version: 2.4.3-1
>> Severity: normal
>> Tags: patch
>>
>> Hello,
>>
>> I found that cmake will not find qt4 if it is installed together with qt3.
>> The problem seems to be line 175 in FindQt4
>>
>> FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake qmake-qt4 PATHS
>>
>> I think it finds qmake (which is from qt3) only to discover it has a wrong
>> version. This can be corrected by reversing the order of alternatives
>>
>> FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake-qt4 qmake PATHS
>>
>> This way, it will always find the correct version.
>
>It's amazing how many times this suggestion has come up even though it
>doesn't work in all cases. Bill, you recently fixed this bug by
>checking the version of qmake found, right?
Yes, and yes, I HAVE FIXED THIS, and reported the Fix to the list
several times. Maybe we should create a FAQ entry. :)
-Bill
More information about the cmake-developers
mailing list