I think if you set these two variables you will get the same desired result.<div><br></div><div><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; "><pre>set(DESIRED_QT_VERSION 4)
set(QT_QMAKE_EXECUTABLE /home/qt/4.6.0/bin/qmake)</pre></span><br><div class="gmail_quote">On Wed, Jan 13, 2010 at 1:07 PM, James Willis <span dir="ltr">&lt;<a href="mailto:JWillis2@lgc.com">JWillis2@lgc.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Is there any good way of telling findqt (I don&#39;t really care about findqt3) where to find Qt?<br>
<br>
Like say you did:<br>
set(QT_QMAKE_LOCATION /home/myself/qt4.6.0/bin)<br>
so that I later upgrade and do:<br>
set(QT_QMAKE_LOCATION /home/myself/qt4.6.1/bin) later without having to muck with my path, but still have findQt find Qt there?<br>
<br>
I was looking at writing such a feature, if it&#39;s not there, and if you&#39;d be willing to take it as a patch.<br>
<br>
--James<br>
<br>
<br>
----------------------------------------------------------------------<br>
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient.  Any review, use, distribution, or disclosure by others is strictly prohibited.  If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.<br>

_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>