<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=293481416-24072007><FONT face=Arial
color=#0000ff size=2>I believe that I am using severe overkill, but we build
using qt4.2.3, then set the following cmake variables that tells ParaView where
to find Qt-4.2.3. </FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2>
-DQT_INCLUDE_DIR:PATH=<SPAN
class=293481416-24072007>stuff</SPAN><BR>
-DQT_LIBRARIES_DIR:PATH=<SPAN
class=293481416-24072007>stuff</SPAN><BR>
-DQT_INSTALL_LIBS:PATH=<SPAN
class=293481416-24072007>stuff</SPAN><BR>
-DQT_QTASSISTANT_LIBRARY:FILEPATH=<SPAN
class=293481416-24072007>stuff</SPAN>'<BR>
-DQT_QTASSISTANT_LIBRARY_DEBUG:FILEPATH=<SPAN
class=293481416-24072007>stuff</SPAN><BR>
-DQT_MOC_EXECUTABLE:FILEPATH=<SPAN
class=293481416-24072007>stuff</SPAN><BR>
-DQT_QMAKE_EXECUTABLE:FILEPATH=<SPAN
class=293481416-24072007>stuff</SPAN>'<BR>
-DQT_QMAKE_EXECUTABLE_FINDQT:FILEPATH=<SPAN
class=293481416-24072007>stuff</SPAN>'<BR>
-DQT_UIC_EXECUTABLE:FILEPATH=<SPAN
class=293481416-24072007>stuff</SPAN>'</FONT></DIV>
<DIV><SPAN class=293481416-24072007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=293481416-24072007></SPAN><FONT face=Arial color=#0000ff
size=2><SPAN class=293481416-24072007>Qt is just built as
follows:</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=293481416-24072007>cd to
your source directory</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=293481416-24072007>./configure --prefix='instillation
directory'</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=293481416-24072007>make</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=293481416-24072007>make
install</SPAN></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff size=2></FONT></FONT> </DIV>
<DIV><SPAN class=293481416-24072007><FONT face=Arial color=#0000ff size=2>When
we make an XP build, we just set the QT_QMAKE_EXECUTABLE, and the rest
automagically works.</FONT></SPAN></DIV>
<DIV><FONT face=Arial><BR></FONT></DIV><FONT color=#0000ff size=2></FONT>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=293481416-24072007>alan</SPAN></FONT></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B>
paraview-bounces+wascott=sandia.gov@paraview.org
[mailto:paraview-bounces+wascott=sandia.gov@paraview.org] <B>On Behalf Of
</B>Andrew Maclean<BR><B>Sent:</B> Monday, July 23, 2007 9:34 PM<BR><B>To:</B>
paraview@paraview.org<BR><B>Subject:</B> [Paraview] Paraview and
QT<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Got about 96% of it built uding QT 4.3.0 however it bombed out with the
following message:</DIV>
<DIV> </DIV>
<DIV>... <BR>96%] Building CXX object
Qt/Components/CMakeFiles/pqComponents.dir/pqKeyFrameEditor.o<BR>/usr/include/qt4/QtGui/qdialog.h:
In member function ‘void QDialog::qt_check_for_QOBJECT_macro(const T&)
const [with T = pqKeyFrameTypeDialog]’:
<BR>/usr/include/qt4/QtCore/qobject.h:411: instantiated from 'T
qobject_cast(QObject*) [with T =
pqKeyFrameTypeDialog*]'<BR>/home/amaclean/Code/Kitware/src/ParaView3/Qt/Components/pqKeyFrameEditor.cxx:173:
instantiated from here <BR>/usr/include/qt4/QtGui/qdialog.h:38: error: void
value not ignored as it ought to be<BR>make[2]: ***
[Qt/Components/CMakeFiles/pqComponents.dir/pqKeyFrameEditor.o] Error
1<BR>make[1]: *** [Qt/Components/CMakeFiles/pqComponents.dir/all] Error 2
<BR>make: *** [all] Error 2</DIV>
<DIV> </DIV>
<DIV>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. </DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> Andrew</DIV>
<DIV><BR clear=all><BR>--
<BR>___________________________________________<BR>Andrew J. P.
Maclean<BR>Centre for Autonomous Systems<BR>The Rose Street Building J04<BR>The
University of Sydney 2006 NSW<BR>AUSTRALIA<BR>Ph: +61 2
9351 3283<BR>Fax: +61 2 9351 7474<BR>URL: <A
href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</A><BR>___________________________________________
</DIV></BODY></HTML>