[Paraview] Paraview and QT
Scott, W Alan
wascott at sandia.gov
Tue Jul 24 12:23:58 EDT 2007
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.
-DQT_INCLUDE_DIR:PATH=stuff
-DQT_LIBRARIES_DIR:PATH=stuff
-DQT_INSTALL_LIBS:PATH=stuff
-DQT_QTASSISTANT_LIBRARY:FILEPATH=stuff'
-DQT_QTASSISTANT_LIBRARY_DEBUG:FILEPATH=stuff
-DQT_MOC_EXECUTABLE:FILEPATH=stuff
-DQT_QMAKE_EXECUTABLE:FILEPATH=stuff'
-DQT_QMAKE_EXECUTABLE_FINDQT:FILEPATH=stuff'
-DQT_UIC_EXECUTABLE:FILEPATH=stuff'
Qt is just built as follows:
cd to your source directory
./configure --prefix='instillation directory'
make
make install
When we make an XP build, we just set the QT_QMAKE_EXECUTABLE, and the rest automagically works.
alan
________________________________
From: paraview-bounces+wascott=sandia.gov at paraview.org [mailto:paraview-bounces+wascott=sandia.gov at paraview.org] On Behalf Of Andrew Maclean
Sent: Monday, July 23, 2007 9:34 PM
To: paraview at paraview.org
Subject: [Paraview] Paraview and QT
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.cxx: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
--
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070724/da992bce/attachment.html
More information about the ParaView
mailing list