laumaya / GLC_lib

GLC_lib is a C++ library for high performance 3D application based on OpenGL and Qt4 GUI
http://www.glc-lib.net
Other
62 stars 31 forks source link

not support qt 5.7 yet? #24

Open chengyingyuan opened 7 years ago

chengyingyuan commented 7 years ago

I tried to create a QGLWidget using glc lib in QT 5.7, but it failed to work, although compiling was fine. The error information as following:

GLC_Context::chooseContext createContext: wglCreateContextAttribsARB() failed (GL error code: 0x502) for format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 1, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 1, samples 4, swapBehavior 2, swapInterval -1, profile 0), shared context: 0x0 () createContext: wglCreateContext failed. () Unable to create a GL Context.

I can run the same example in QT 5.5 without any problem. Doesn't it support QT 5.7 yet?

Regards,

Leo Cheng