Hello QCustomPlot users,
I am trying to subclass QCPAxis without success.
With the following code, i have the error "error C2512: 'QCPAxis'Â : no default constructor available".
I don't know why. Normally, QCPAxis constructor is already deined int the base class.
class CAxis : public QCPAxis
{
//Q_OBJECT
public:
//using QCPAxis::QCPAxis;
CAxis(QCPAxisRect *parent, AxisType type)
{
QCPAxis::QCPAxis(parent, type);
}
protected:
//......
};
Your help will be appreciated.
Regards.