Failed compiling GUI at Plot2d
Good day,
I am trying to compile salome in Arch Linux. So far I have compiled KERNEL (after some problems) and installed it.
I am now trying to compile GUI. All dependencies are reported found.
Compilation aborts with errors:
######################################################
....
In file included from Plot2d.cxx:23:0:
Plot2d.h:49:11: error: field 'text' has incomplete type
Plot2d.h:51:78: error: invalid use of incomplete type 'struct QString'
/usr/include/QtCore/qglobal.h:1525:7: error: forward declaration of 'struct QString'
Plot2d.h:88:73: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:91:73: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:94:73: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:97:73: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:101:66: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:104:66: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:107:66: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:110:66: error: default argument for 'const QColor& <anonymous>' has type 'Qt::GlobalColor'
Plot2d.h:112:3: error: 'QPixmap' does not name a type
Plot2d.h:115:3: error: 'QPixmap' does not name a type
Plot2d.cxx: In constructor 'Plot2d_Point:
lot2d_Point(double, double, const QString&
':
Plot2d.cxx:50:27: error: class 'Plot2d_Point' does not have any field named 'text'
Plot2d.cxx: At global scope:
Plot2d.cxx:388:92: error: 'QPixmap Plot2d::markerIcon(const QSize&, const QColor&, Plot2d::MarkerType)' should have been declared inside 'Plot2d'
Plot2d.cxx:406:90: error: 'QPixmap Plot2d::lineIcon(const QSize&, const QColor&, Plot2d::LineType)' should have been declared inside 'Plot2d'
Plot2d.cxx: In function 'bool Plot2d::existMarker(int, const QwtPlot*, QwtSymbol::Style, const QColor&, Qt:
enStyle)':
Plot2d.cxx:461:44: error: request for member 'style' in 'crv->QwtPlotCurve::symbol()', which is of non-class type 'const QwtSymbol*'
make[2]: *** [libPlot2d_la-Plot2d.lo] Error 1
make[2]: Leaving directory `/home/stefan/builds/salome-med/salome-med/DEPMAKER_DEPS/salome-gui/src/GUI_SRC_6.4.0/src/Plot2d'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stefan/builds/salome-med/salome-med/DEPMAKER_DEPS/salome-gui/src/GUI_SRC_6.4.0/src'
make: *** [all-recursive] Error 1
Hello Stephan,
SALOME 6.4.0 was compiled / tested only on Qt 4.6. For the current moment, it is not yet ported to the latest versions of Qt (4.7-4.8).
Regards,
Vadim.
Thank you for the reply.
When you say "not yet" does that include sources on git? Or are they changed for newest versions of dependencies?
If not, could you predict when Qt 4.8 will be supported?
