When I compiled Qt WK2 using Qt-5.0.0-beta1 about 1 week ago, Minibrowser was fine. However, yesterday Qt WK2 did not render anything, which was compiled with the latest Qt-5.0.0-r38. stdout said WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release. WARNING: The experimental API will change from version to version, or even be removed. You have been warned! QOpenGLShader::compile(Vertex): failed QOpenGLShader::compile(Fragment): failed QSGMaterialShader: Shader compilation failed: "" QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked QOpenGLShader::compile(Vertex): failed QOpenGLShader::compile(Fragment): failed QSGMaterialShader: Shader compilation failed: My machine has Nvidia Quadro 4000. OS is Ubuntu 12.04.
Oops. It was because of my machine's GPU driver issues.