Thanks Burlen. That helped!
On 01/09/2015 11:10 AM, Burlen Loring wrote:
Hi Jeff,
Here are the vars that I set:
prepend-path PATH /work/apps/qt-4.8.2/bin
prepend-path MANPATH :/work/apps/qt-4.8.2/man
prepend-path LD_LIBRARY_PATH /work/apps/qt-4.8.2/lib
prepend-path LD_RUN_PATH /work/apps/qt-4.8.2/lib
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.
the above is an excerpt from a module file
<http://modules.sourceforge.net/> which provides a convenient way to
manage multiple installs.
Burlen
On 01/09/2015 09:59 AM, Jeff Becker wrote:
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:
//Where can the qmake-qt4 library be found
QT_QMAKE_EXECUTABLE:FILEPATH=/usr/local/Trolltech/Qt-4.8.6/bin/qmake
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.,
//Path to a library.
QT_CUSTOMWIDGETPLUGIN_PLUGIN_RELEASE:FILEPATH=/usr/lib64/qt4/plugins/designer/libcustomwidgetplugin.so
//Path to a program.
QT_DBUSCPP2XML_EXECUTABLE:FILEPATH=/usr/lib64/qt4/bin/qdbuscpp2xml
Is there a QTHOME or similar variable I need to set to get the right
libraries/executables? Thanks.
-jeff
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview
_______________________________________________
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 ParaView Wiki at:
http://paraview.org/Wiki/ParaView
Search the list archives at: http://markmail.org/search/?q=ParaView
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview