Expected type-specifier before 'QwtLog10ScaleEngine'?
问题 Version: qwt 6.0.1 I've tried to develop logarithmic scaling for Spectrum. I've used simple line to enable scaling plotspectrum->setAxisScaleEngine(QwtPlot::yLeft, new QwtLog10ScaleEngine); Problems: the data are not drawn, so the plot is empty and the compiler returns following error:"expected type-specifier before 'QwtLog10ScaleEngine'" Any help woulb be appreciated Here is my code: class SpectrumPlot : public QWidget { Q_OBJECT public: PlotSpektrum(); private: QHBoxLayout* m_SpectrumLayout