[Paraview] ccmake error paraview-2.9-september (linux): CMake was unable to find desired QT version: 4.

Moreland, Kenneth kmorel at sandia.gov
Mon Sep 25 19:15:27 EDT 2006

Yes, you need to have Qt 4.  The desired version variable is inherited
from the embedded distribution of VTK, but is not supported by the rest
of the Qt libraries for ParaView.

What do you "set the variables?"  Are those environment variables you
are setting?  If so, that won't work because CMake does not inherit
environment variables for its own internal variables.  Did you enter
those values into CMakeCache.txt?  That won't work either because $QTDIR
will not be properly dereferenced.

Your best bet is to make sure the Qt 4 version of qmake is in your path
(not the Qt 3 version), delete your configuration directory, and run
ccmake from scratch.


> -----Original Message-----
> From: paraview-bounces+kmorel=sandia.gov at paraview.org
> bounces+kmorel=sandia.gov at paraview.org] On Behalf Of Peter J. Bismuti
> Sent: Monday, September 25, 2006 5:07 PM
> To: paraview at paraview.org
> Subject: [Paraview] ccmake error paraview-2.9-september (linux): CMake
> unable to find desired QT version: 4.
> I'm having trouble running ccmake with paraview-2.9-september (linux).
> Must qt version 4 be used?  There is an variable called "desired
> of
> QT" which seems to imply version 3 can be used.
> Believing that qt version 4 must be used, I installed it and set the
> following
> variables:
> QTDIR=<root of qt4 build directory>
> QT4_QGLOBAL_FILE=$QTDIR/include/Qt/qglobal.h
> I'm still getting the error message below.  Can anyone please tell me
> to
> fix this?
> Thanks in advance
> ____________error message______________________________________-
> CMake was unable to find desired QT version: 4. Set advanced values
>  QtCore library not found.
>  QtGui library not found.
>  CMake Error: Error in cmake code at
>  /acct/pjb9508/VTK/paraview-2.9/VTK/GUISupport/Qt/CMakeLists.txt:35:
>  Unknown CMake command "QT4_WRAP_CPP".
> CMake produced the following output
> CMake
> Version 2.4 - patch 3
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview

More information about the ParaView mailing list