OpenGL issue while running QML application under RDP

1.4k views Asked by At

I have developed my application with QtQuick and QML, it works fine with windows and linux, but the application UI doesn't show while connecting to remote peer via RDP, it works fine with VNC.

I have tested it over various configuration, but it never worked over RDP. the error is saying

createWindowSurface: Could not create the EGL window surface: 0x300e

I think the issue is about opengl but i never used opengl in this application.

My application is based on simple QML applications provided by Qt Quick examples. they're not working too.

1

There are 1 answers

0
e.jahandar On BEST ANSWER

I don't know what's wrong with Qt's Opengl stack, but normaly it should switch on software mode.

I think the issue is about opengl but i never used opengl in this application.

Yes, the issue is about OpenGL over RDP, in Qt Quick2 the default backed is native OpenGL backend, so if you developing applications with Qt Quick 2, you need OpenGL driver to.

Try letting QT_OPENGL=software in environment variables, its fixing it temporarily.