Closed mara004 closed 2 years ago
Move away from the deprecated QGLWidget involving problematic native windows/surfaces (see https://doc.qt.io/qt-5/qopenglwidget.html#relation-to-qglwidget). Use the newer QOpenGLWidget instead.
I do not know any C++ and only built this fix using hints from other programs facing similar problems. Although it seems to work, the code is probably incomplete.
When OpenGL is enabled without this patch, the view is transparent and there are visual glitches on Wayland. Here's a screenshot:
Move away from the deprecated QGLWidget involving problematic native windows/surfaces (see https://doc.qt.io/qt-5/qopenglwidget.html#relation-to-qglwidget). Use the newer QOpenGLWidget instead.
I do not know any C++ and only built this fix using hints from other programs facing similar problems. Although it seems to work, the code is probably incomplete.