When compiling mythtv-0.28 with QT 5.5.1 and running the video playback with an OpenGL renderer the video playback in the mythfrontend will crash with: "QOpenGLContext::swapBuffers() called with non-exposed window, behavior is undefined" This is a known (https://forum.mythtv.org/viewtopic.php?f=29&t=1393) error which can be avoided by compiling it with a QT version 5.6.0 or higher. So it would be better the ebuild depends on slot 5/5.6 for the QT libraries instead of only slot 5. Reproducible: Always Steps to Reproduce: Playing a video with an OpenGL renderer in mythfrontend Actual Results: mythfrontend playback crashes Expected Results: Like in <media-tv/mythtv-0.28,play it nicely without a crash. Compiling it with QT >= 5.6.0 solves the problem
We also noticed that this bug keeps alive even with QT 5.6.0 when the paint method in mythtv is set to QT instead of auto. If the paint method is set to "Auto" mythfrontend is working fine with QT 5.6.0.
Thanks Nicolas for this bug report - I had the same issue when enabling any of the OpenGL renderers. I tried changing the qt dependencies in the ebuild as follows: dev-qt/qtcore:5/5.6 dev-qt/qtdbus:5/5.6 dev-qt/qtgui:5/5.6 dev-qt/qtscript:5/5.6 dev-qt/qtsql:5/5.6[mysql] dev-qt/qtopengl:5/5.6 dev-qt/qtwebkit:5/5.6 to pull in the 5.6 subslot and everything worked nicely. As you mentioned, you need to change the paint to Auto - I must have left this set to QT from years ago for some reason, and now I have lovely UI fades :)
<qt-5.6.0 is no longer in the tree.