Does anyone know about QCPAxisTickerTime???
-
Hi,
I'm doing an apllication by Qt and I just use QCustomPlot to make Plot. But when I tried to change the Y axis in the chart to the Datetime axis by QCPAxisTickerTime, I got this Error:
error: ‘QCPAxisTickerTime’ was not declared in this scope
QSharedPointer<QCPAxisTickerTime> timeTicker(new QCPAxisTickerTime).I included the QSharedPointer library.
I'm using Qt5.8.0 and QCustomPlot version 2.0.0 beta.
I'm doing student thesis in the University. Please help me.
Sorry for bad English, I'm from Vietnam.
Thank you so much.Halm-Jewel.
-
Hi,
I'm doing an apllication by Qt and I just use QCustomPlot to make Plot. But when I tried to change the Y axis in the chart to the Datetime axis by QCPAxisTickerTime, I got this Error:
error: ‘QCPAxisTickerTime’ was not declared in this scope
QSharedPointer<QCPAxisTickerTime> timeTicker(new QCPAxisTickerTime).I included the QSharedPointer library.
I'm using Qt5.8.0 and QCustomPlot version 2.0.0 beta.
I'm doing student thesis in the University. Please help me.
Sorry for bad English, I'm from Vietnam.
Thank you so much.Halm-Jewel.
@Jewel-Halm
it seems you don't include the header file orQCPAxisTickerTime
is declared in another scope.but I read the source of qcustomplot.h briefly, it does not declare
QCPAxisTickerTime
in any namespace or class, so do you include the header file?BTW, from the official download page , it seems that QCustomPlot does not support Qt5.8
-
@Jewel-Halm
it seems you don't include the header file orQCPAxisTickerTime
is declared in another scope.but I read the source of qcustomplot.h briefly, it does not declare
QCPAxisTickerTime
in any namespace or class, so do you include the header file?BTW, from the official download page , it seems that QCustomPlot does not support Qt5.8
@Flotisable Thank you so much! I'm doing it. :)