AW: [Paraview] compile Qt-4.3.3, please help!

Gebbert, Sören Soeren.Gebbert at inpro.de
Mon Jan 14 09:40:29 EST 2008


Hi,
i had the problem that ParaView 3.2.1 does not compile with Qt 4.3.3 because a CMakeLists.txt
entry in the subdir Qt does not check for Qt versions greater then 4.2.*.
I had to fix this entry manually.

Change the entry in ParaView3.2.1/Qt/CMakeLists.txt
from

STRING(REGEX MATCH "^4\\.2\\.[0-9]+" qt_version_tmp "${QTVERSION}")

to

STRING(REGEX MATCH "^4\\.[2-3]\\.[0-9]+" qt_version_tmp "${QTVERSION}")


ParaView compiles without problems on my OpenSUSE 10.3 32Bit as well as OpenSUSE 64Bit 
machine with Qt 4.3.3.

Best regards
Soeren

-----Ursprüngliche Nachricht-----
Von: paraview-bounces+soeren.gebbert=inpro.de at paraview.org [mailto:paraview-bounces+soeren.gebbert=inpro.de at paraview.org] Im Auftrag von Berk Geveci
Gesendet: Montag, 31. Dezember 2007 15:46
An: Pei-Ying Hsieh
Cc: paraview at paraview.org
Betreff: Re: [Paraview] compile Qt-4.3.3, please help!

Make sure that qmake for Qt 4.3.3 is in your path BEFORE that of 4.2.1
and re-run cmake. I recommend cleaning all of your build tree first.

-berk

On 12/31/07, Pei-Ying Hsieh <phsieh2005 at yahoo.com> wrote:
> Hi,
>
> I would like to compile paraview-3.2.1 from source for CFD data
> visualization.  I am using 64 bit OpenSuSE 10.2.  It has Qt-4.2.1 installed.
>  I am not able to update it to the latest version.  Hence, I downloaded
> qt-X11-opensource-src-4.3.3.tar.gz and installed it to its
> default directory.  Then, export
> PATH=/usr/local/Trolltech/Qt-4.3.3/bin:$PATH.  However, when I issued cmake
> in paraview, I got complains from paraview that, I have qt-4.2.1 and at
> least qt-4.2.3 is required.  How do I get paraview to recognize the new
> qt-4.3.3 I installed?  Thanks!
>
> Peiying
>
>
>  ________________________________
> Never miss a thing. Make Yahoo your homepage.
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview


More information about the ParaView mailing list