--- qt-x11-opensource-src-4.0.1/src/opengl~/qgl_x11.cpp 2005-08-16 12:41:28 +0400 +++ qt-x11-opensource-src-4.0.1/src/opengl/qgl_x11.cpp 2005-10-24 20:21:02 +0400 @@ -855,7 +855,7 @@ void *QGLContext::getProcAddress(const Q if (!glXGetProcAddressARB) { QString glxExt(glXGetClientString(QX11Info::display(), GLX_EXTENSIONS)); if (glxExt.contains("GLX_ARB_get_proc_address")) { - QLibrary lib("GL"); + QLibrary lib("/usr/X11R6/lib/libGL.so.1"); glXGetProcAddressARB = (qt_glXGetProcAddressARB) lib.resolve("glXGetProcAddressARB"); if (!glXGetProcAddressARB) return 0;