QCustomPlot Discussion and Comments

QCP 2.0 beta and setOpenglReturn to overview

I'm trying to add OpenGL in plot-examples. First of all I include the line DEFINES += QCUSTOMPLOT_USE_OPENGL in the plot-examples.pro and then set customPlot->setOpenGl(true); in function. But I get errors like these at the step of building:
1-D:\MyFiles\QCustomPlot\qcustomplot\qcustomplot.cpp:909: error: undefined reference to `_imp__glClearColor@16'
2-D:\MyFiles\QCustomPlot\qcustomplot\qcustomplot.cpp:910: error: undefined reference to `_imp__glClear@4'

why?

this is just an idea.. try to link against OpenGL32.lib

I have the exact same problem