- 
    Bug 
- 
    Resolution: Invalid
- 
     Not Evaluated Not Evaluated
- 
    None
- 
    Qt Creator 3.6.0
- 
    None
- 
    Funtoo Linux 64bit
 Qt 5.5.1-r1
 Nvidia drivers 361.28-r2
After installing QtCreator and launching it, it shows completely black window and the following console output:
libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast QOpenGLShader: could not create shader QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked QOpenGLShader: could not create shader QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShaderProgram::uniformLocation( imageTexture ): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked QOpenGLShaderProgram: could not create shader program QOpenGLShader: could not create shader QOpenGLShader: could not create shader shader compilation failed: "" (repeated many times).
Investigating the bug (initially reported here https://bugs.funtoo.org/browse/FL-3162) shown that for some reason QtCreator loads libGL.so from weird path libGL.so.1 => /usr/bin/../lib64/qtcreator/../libGL.so.1 (see ldd output here: http://pastebin.com/uTiy5cmA) instead of
$ /sbin/ldconfig -p | grep "libGL\.so"
    libGL.so (libc6,x86-64) => /usr/lib64/opengl/nvidia/lib/libGL.so