Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.1, 5.2.0
-
Windows, ANGLE
Description
I have been trying to deploy a QML/QtQuick2 app on Windows for a few weeks now. A lot of users come back with issues because when starting the app the frame window appears but the window is empty. After tracking down the issues it seems the problem comes from a graphic card driver not up-to-date leading ANGLE to not properly initialize and nothing to appear.
When looking in the log I see a lot of warnings indicating that something is wrong and known by Qt. I think these errors should be caught and returned/transmitted to the user. This way it would be possible to catch the issue on startup and display proper help info/messages to users.
Example of warnings:
Warning: static QWindowsEGLStaticContext* QWindowsEGLStaticContext::create(): Could not initialize egl display: error 12289
Warning: QOpenGLFunctions created with non-current context
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
Warning: QOpenGLFunctions created with non-current context
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
Warning: QOpenGLFunctions created with non-current context
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( pixelSize ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( qt_Matrix ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
Warning: QOpenGLFunctions created with non-current context
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( opacity ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( pixelSize ): shader program is not linked
Warning: QOpenGLFunctions created with non-current context
Warning: QSGMaterialShader: Shader compilation failed:
Warning: ""
Warning: QOpenGLShaderProgram::uniformLocation( matrix ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( textureScale ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( color ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( alphaMin ): shader program is not linked
Warning: QOpenGLShaderProgram::uniformLocation( alphaMax ): shader program is not linked
Attachments
Issue Links
- relates to
-
QTBUG-30300 QtQuick2 has problems(crash/not display) using RemoteDesktop
- Closed
- resulted in
-
QTBUG-36138 Qt Quick should handle GL problems better
- Closed