Summary of problems encountered in using OpenGL in QT

Configure environment VS2015 + QT5.9

: Error LNK2019: Unable to parse the external symbol – **.
: Error LNK2019: Unable to parse the external symbol – **.
en cmake, put BUILD_SHARED_LIBS on the box, recompile to generate glfw3.lib and glfw3dll. DLL, add them to Qt’s pro, compile to pass.
Problem – Glad include
in Pro after configuration Glad path, add

#include <glad/glad.h>

If the position is not appropriate, an alarm will appear:

error: C1189: #error:  OpenGL header already included, remove this include, glad already provides it

containing glad must precede all penGL *** h>rs.
GlDrawElements ()
call function drawelements () e> :

Error - 
RtlWerpReportException failed with status code :-1073741823. Will try to launch the process directly

1. ***Pointer s>uffer error, vertex index out of bounds reference vertex array;
br bb3 GlbindVertexArray (0)

GlbindV>xArray (0)

GlbindVertexArray (0)

GlbindVerTexArray (0)

GlbindVerTexArray (0);
br> <>>

3. Call makeCurrent()fore binding VAO.
(To be continued)

Read More: