[Paraview] ParaView on ARM based compiler (build fails)
Mathieu Malaterre
mathieu.malaterre at gmail.com
Sun Jan 24 16:50:38 EST 2010
Hi there,
What is the policy regarding the use of qreal versus double ? It
seems qreal has been used consistently almost everywhere in the code,
except one spot:
Ref:
https://buildd.debian.org/fetch.cgi?pkg=paraview&arch=armel&ver=3.6.2-1&stamp=1264325255&file=log&as=raw
[ 97%] Building CXX object
Qt/Components/CMakeFiles/pqComponents.dir/pqChartSeriesEditorModel.o
/build/buildd-paraview_3.6.2-1-armel-AMHrVZ/paraview-3.6.2/Qt/Components/pqChartSeriesEditorModel.cxx:
In member function 'void pqChartSeriesEditorModel::setSeriesColor(int,
const QColor&)':
/build/buildd-paraview_3.6.2-1-armel-AMHrVZ/paraview-3.6.2/Qt/Components/pqChartSeriesEditorModel.cxx:296:
error: no matching function for call to 'QColor::getRgbF(double [3],
double*, double*) const'
/usr/include/qt4/QtGui/qcolor.h:114: note: candidates are: void
QColor::getRgbF(qreal*, qreal*, qreal*, qreal*) const
make[3]: *** [Qt/Components/CMakeFiles/pqComponents.dir/pqChartSeriesEditorModel.o]
Error 1
make[2]: *** [Qt/Components/CMakeFiles/pqComponents.dir/all] Error 2
make[1]: *** [all] Error 2
According to the Qt doc:
http://doc.trolltech.com/4.5/qtglobal.html#qreal-typedef
Is this ok to call the Qt function with qreal, then copy this qreal
into a double buffer. I do not think this will introduce to much
overhead. Should I simply open a bug report instead ?
Thanks
--
Mathieu
More information about the ParaView
mailing list