Build System:
Environment:
Problem: A new Qt Quick 2 Application (Built-in Elements) project will not run as I receive:
class QWindowsEGLStaticContext *__cdecl QWindowsEGLStaticContext::create(void): Could not initialize egl display: error 12289
QOpenGLFunctions created with non-current context
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 believe this is due to it running on a virtual machine.
I have tried both ANGLE and OpenGL versions of Qt but both fail. The OpenGL I expected to fail as I don't believe our VMWare infrastructure has a compatible video driver.
Has anyone else experienced this and managed to work around it?
Thanks, Marcus
I had the same problem and I resolved it by activating "Accelerate 3D graphics" in vmplayer conf. After that, I don't have the error message, but the apps still doesn't work: it display a blank screen.