[Paraview] Paraview and QT

Andrew Maclean andrew.amaclean at gmail.com
Thu Jul 26 18:57:45 EDT 2007


Thanks Clint,
   I realize that I am on my own with it. It just surprised me that this error appeared. I did suspect that it was something more fundamental relating to the ParaView code. I am not a QT expert so I dreaded looking for the cause!

   As I said it just came about because I did a dist-upgrade on my machine and this version of QT was installed.


Regards
    Andrew



-----Original Message-----
From: clinton at elemtech.com [mailto:clinton at elemtech.com] 
Sent: Friday, 27 July 2007 04:42
To: paraview at paraview.org; a.maclean at cas.edu.au
Subject: Re: [Paraview] Paraview and QT


Oh that's nice of Qt 4.3 to report a compile error for that incorrect usage of 
qobject_cast.  In 4.2, that'll result in undesired runtime behavior.  It'll 
be fixed regardless.

To clarify any misconceptions about the Qt api.  Qt 4.3 is binary and source 
compatible with 4.2, 4.1 and 4.0.  And 4.2 with 4.1 and 4.0.

But you're still on your own when dealing with Qt bugs in versions we don't 
officially support (I've only seen these issues in 4.2.0 and 4.2.1).

Clint

On Monday 23 July 2007 9:33:31 pm Andrew Maclean wrote:
> Got about 96% of it built uding QT 4.3.0 however it bombed out with the
> following message:
>
> ...
> 96%] Building CXX object
> Qt/Components/CMakeFiles/pqComponents.dir/pqKeyFrameEditor.o
> /usr/include/qt4/QtGui/qdialog.h: In member function ‘void
> QDialog::qt_check_for_QOBJECT_macro(const T&) const [with T =
> pqKeyFrameTypeDialog]’:
> /usr/include/qt4/QtCore/qobject.h:411:   instantiated from 'T
> qobject_cast(QObject*) [with T = pqKeyFrameTypeDialog*]'
> /home/amaclean/Code/Kitware/src/ParaView3/Qt/Components/pqKeyFrameEditor.cx
>x:173: instantiated from here
> /usr/include/qt4/QtGui/qdialog.h:38: error: void value not ignored as it
> ought to be
> make[2]: *** [Qt/Components/CMakeFiles/pqComponents.dir/pqKeyFrameEditor.o]
> Error 1
> make[1]: *** [Qt/Components/CMakeFiles/pqComponents.dir/all] Error 2
> make: *** [all] Error 2
>
> I am not a QT expert but is anyone working on it for QT 4.3.0? This is
> because my linux installation is already using this version. What I am
> hoping for is a simple fix that will let this version of QT be used and
> also the older versions.
>
> Thanks
>    Andrew






More information about the ParaView mailing list