Problem in running QtQuick apps in windwos
-
Hi,
i've installed the Qt for android sdk 5.1 release for windows x86
i tried to run some examples, the Widget examples runs just fine on windows, but the QtQuick apps fails to run, gives runtime error in visual C++, and gives these messages in the console
@getProcAddress: Unable to resolve 'glCreateProgram'
getProcAddress: Unable to resolve 'glCreateProgramARB'
getProcAddress: Unable to resolve 'glCreateProgramObject'
getProcAddress: Unable to resolve 'glCreateProgramObjectARB'
QOpenGLShaderProgram: could not create shader program
getProcAddress: Unable to resolve 'glCreateShader'
getProcAddress: Unable to resolve 'glCreateShaderARB'
getProcAddress: Unable to resolve 'glCreateShaderObject'
getProcAddress: Unable to resolve 'glCreateShaderObjectARB'
QOpenGLShader: could not create shader
List of attribute names is either too long or not null-terminated.
Maximum number of attributes on this hardware is 0.
Vertex shader:
attribute highp vec4 vertexCoord;
attribute highp vec4 vertexColor;
uniform highp mat4 matrix;
uniform highp float opacity;
varying lowp vec4 color;
void main() {
gl_Position = matrix * vertexCoord;
color = vertexColor * opacity;
}
Fragment shader:
varying lowp vec4 color;
void main() {
gl_FragColor = color;
}@i run on windows 8 x64
-
Looks like you don't have appropriate OpenGL drivers.
-
INstall nVidia, AMD or Intel drivers for your graphics card, probably. I have never run the android package on Windows, so I can't say for sure.