qt ubuntu opengl
我运行qt自带的oepngl中的2dpaint,可是提示
/opt/qtsdk-2010.05/qt/examples/opengl/2dpainting-build-desktop/../../../include/QtOpenGL/qgl.h:341: error: 错误: ‘GLuint’没有命名一个类型
/opt/qtsdk-2010.05/qt/examples/opengl/2dpainting-build-desktop/../../../include/QtOpenGL/qgl.h:354: error: 错误: ‘GL_TEXTURE_2D’在此作用域中尚未声明
/opt/qtsdk-2010.05/qt/examples/opengl/2dpainting-build-desktop/../../../include/Q> init)
我该如何进行解决这个问题呢?
谢谢。