<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Jeff,<br>
<br>
Here are the vars that I set:<br>
<blockquote>prepend-path PATH /work/apps/qt-4.8.2/bin <br>
prepend-path MANPATH :/work/apps/qt-4.8.2/man <br>
prepend-path LD_LIBRARY_PATH /work/apps/qt-4.8.2/lib <br>
prepend-path LD_RUN_PATH /work/apps/qt-4.8.2/lib<br>
</blockquote>
after sourcing this, typing "which qmake" in the shell where you're
doing your build should print the path to your qt. then cmake should
find your qt.<br>
<br>
the above is an excerpt from a <a
href="http://modules.sourceforge.net/">module file</a> which
provides a convenient way to manage multiple installs.<br>
<br>
Burlen<br>
<br>
<div class="moz-cite-prefix">On 01/09/2015 09:59 AM, Jeff Becker
wrote:<br>
</div>
<blockquote cite="mid:54B0171D.3010809@nasa.gov" type="cite">Hi. My
initial run of ccmake complained that my distro's qt was too old,
so I downloaded and built/installed a supported version in
/usr/local/Trolltech/Qt-4.8.6. Thus I set:
<br>
<br>
//Where can the qmake-qt4 library be found
<br>
QT_QMAKE_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.8.6/bin/qmake
<br>
<br>
However, even though ccmake completes (allowing the g key to be
activated), the qt libraries/executables listed in CMakeCache.txt
are all from the distro's versions (in /usr/lib64/qt4). E.g.,
<br>
<br>
//Path to a library.
<br>
QT_CUSTOMWIDGETPLUGIN_PLUGIN_RELEASE:FILEPATH=/usr/lib64/qt4/plugins/designer/libcustomwidgetplugin.so
<br>
<br>
//Path to a program.
<br>
QT_DBUSCPP2XML_EXECUTABLE:FILEPATH=/usr/lib64/qt4/bin/qdbuscpp2xml
<br>
<br>
Is there a QTHOME or similar variable I need to set to get the
right libraries/executables? Thanks.
<br>
<br>
-jeff
<br>
_______________________________________________
<br>
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>
<br>
<br>
Visit other Kitware open-source projects at
<a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>
<br>
<br>
Please keep messages on-topic and check the ParaView Wiki at:
<a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>
<br>
<br>
Search the list archives at:
<a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=ParaView">http://markmail.org/search/?q=ParaView</a>
<br>
<br>
Follow this link to subscribe/unsubscribe:
<br>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/mailman/listinfo/paraview">http://public.kitware.com/mailman/listinfo/paraview</a>
<br>
</blockquote>
<br>
</body>
</html>