我正在尝试使用OpenGL加速系列。如标题所示,当我在QLineSeries上调用函数setUseOpenGL时,它消失了。这是什么原因,解决方案是什么?根据{{3}},应该足够了吗?
lineSeries = new QLineSeries();
lineSeries->setName("Bitrate");
chart->addSeries(lineSeries);
QDateTimeAxis *axisX = new QDateTimeAxis;
axisX->setFormat("m:ss");
axisX->setTickCount(10);
axisX->setTitleText("Time m:s");
this->chart()->setAxisX(axisX, lineSeries);
this->setChart(chart);
void signalReciever(quint32 bitrate){
append lineSeries(bitrate);
}