[Paraview] Paraview and QT
clinton at elemtech.com
clinton at elemtech.com
Thu Jul 26 14:41:44 EDT 2007
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