I'm using Qt 5.7 VS2015 and following the documentation for turning on OpenGL. I'm using the QML shim found on these forums.
I've set the define
DEFINES += QCUSTOMPLOT_USE_OPENGL
and clean, qmake, rebuild. However I get unresolved externals.
qcustomplot.obj:-1: error: LNK2019: unresolved external symbol __imp_glClear referenced in function "public: virtual void __cdecl QCPPaintBufferGlFbo::clear(class QColor const &)" (?clear@QCPPaintBufferGlFbo@@UEAAXAEBVQColor@@@Z)
qcustomplot.obj:-1: error: LNK2019: unresolved external symbol __imp_glClearColor referenced in function "public: virtual void __cdecl QCPPaintBufferGlFbo::clear(class QColor const &)" (?clear@QCPPaintBufferGlFbo@@UEAAXAEBVQColor@@@Z)
qcustomplot.h + cpp are included in the project.
Is there a solution?