The definitive, unambiguous way to do this is to:
set(QT_QMAKE_EXECUTABLE "/full/path/to/qmake")

before:
find_package(Qt4)

Changing the value of QT_QMAKE_EXECUTABLE and then re-executing
find_package(Qt4) is supposed to change all associated Qt variables to match
the corresponding qmake.


On Wed, Jan 13, 2010 at 2:46 PM, Alan W. Irwin <[email protected]>wrote:

> On 2010-01-13 14:03-0500 Michael Jackson wrote:
>
>  SEt the QT_QMAKE_EXECUTABLE variable.
>>
>
> Or put the appropriate version of qmake on your PATH.
>
> Alan
> __________________________
> Alan W. Irwin
>
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
>
> Programming affiliations with the FreeEOS equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting
> software
> package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
>
> Linux-powered Science
> __________________________
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to