QCustomPlot Discussion and Comments

Missing members in the connected libraryReturn to overview

Missing members errors:
" error: no member named 'addPlottable' in 'QCustomPlot' ",
" error: no member named 'setAutoTicks' in 'QCPAxis' ",
" error: no member named 'setAutoTickLabels' in 'QCPAxis' ",
" error: no member named 'setTickVector' in 'QCPAxis' ",
" error: no member named 'setTickVectorLabels' in 'QCPAxis' ",
" error: no member named 'setSubTickCount' in 'QCPAxis' ".

Although many other members are there and work.
How to fix?

I think those are all old functions from QCP 1.x which changed in QCP2.x

But I also cant find an alternative.
For example set labels along the xAxis

That's because the axes in QCP2 are now composed with a QCPAxisTicker subclass (See QCPAxisTickerFixed and QCPAxisTickerText).

Plottables are registered with the QCP widget automatically when constructed (See QCPGraph documentation for the constructor).

Just to underline what Isso already noted, QCP2 is a major revision of QCP, so you will need to read the documentation, because the API is not the same as QCP1.