glwidget.cpp: In member function 'void GLWidget::paintQtLogo()': glwidget.cpp:213: error: 'glVertexAttribPointer' was not declared in this scope glwidget.cpp:214: error: 'glEnableVertexAttribArray' was not declared in this scope glwidget.cpp:218: error: 'glDisableVertexAttribArray' was not declared in this scope glwidget.cpp: In member function 'void GLWidget::paintTexturedCube()': glwidget.cpp:242: error: 'glVertexAttribPointer' was not declared in this scope glwidget.cpp:243: error: 'glEnableVertexAttribArray' was not declared in this scope glwidget.cpp:284: error: 'glUniform1i' was not declared in this scope glwidget.cpp:288: error: 'glDisableVertexAttribArray' was not declared in this scope glwidget.cpp: In function 'void reportCompileErrors(GLuint, const char*)': glwidget.cpp:296: error: 'glGetShaderiv' was not declared in this scope glwidget.cpp:303: error: 'glGetShaderInfoLog' was not declared in this scope glwidget.cpp: In function 'void reportLinkErrors(GLuint, const char*, const char*)': glwidget.cpp:313: error: 'glGetProgramiv' was not declared in this scope glwidget.cpp:320: error: 'glGetProgramInfoLog' was not declared in this scope glwidget.cpp: In member function 'virtual void GLWidget::initializeGL()': glwidget.cpp:337: error: 'glCreateShader' was not declared in this scope glwidget.cpp:353: error: 'glShaderSource' was not declared in this scope glwidget.cpp:354: error: 'glCompileShader' was not declared in this scope glwidget.cpp:369: error: 'glCreateProgram' was not declared in this scope glwidget.cpp:370: error: 'glAttachShader' was not declared in this scope glwidget.cpp:372: error: 'glLinkProgram' was not declared in this scope glwidget.cpp:375: error: 'glGetAttribLocation' was not declared in this scope glwidget.cpp:377: error: 'glGetUniformLocation' was not declared in this scope glwidget.cpp: In member function 'virtual void GLWidget::paintGL()': glwidget.cpp:466: error: 'glUseProgram' was not declared in this scope glwidget.cpp:467: error: 'glUniformMatrix4fv' was not declared in this scope glwidget.cpp:471: error: 'glUseProgram' was not declared in this scope glwidget.cpp:472: error: 'glUniformMatrix4fv' was not declared in this scope make: *** [glwidget.o] Error 1