[CMake] Suggesting to FindQT4.cmake where to find QT4

Jed Brown jed at 59A2.org
Mon May 25 17:03:03 EDT 2009


Alan W. Irwin wrote:

> Have you ever tried setting the PATH?  It is actually quite easy and does
> not involve "great contortions".
> 
> All I do is execute
> 
> PATH='/home/software/qtsdk-2009.02/qt/bin:'$PATH
> 
> and from then on, cmake uses the version of Qt4 that I downloaded and
> installed in the specified location.  If I want the system version of Qt4
> again (which I don't for my needs), I remove the above from my PATH.

The issue is obviously what happens as soon as there are two independent
libraries that are both so selfish.  Reylying on PATH being set up
specially for you is terrible design unless you can guarantee that there
will never be another.

Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090525/ebfb7b5c/attachment-0001.pgp>


More information about the CMake mailing list