Long story short: OpenGL 2.1 is a bitch. It seems that about 5 people in the world seriously use OpenGL in pyqt5, and none of them knows what they're doing. After 2 days of work I still don't know how to even render a textured quad, so I gave up.
Let's do the one thing Qt is good for: use a solution implemented in Qt. QPainter seems to be exactly what we need. I don't know why we even bothered with other possible solutions.
Lest I forget: this is a partial solution to Issue #9.
Long story short: OpenGL 2.1 is a bitch. It seems that about 5 people in the world seriously use OpenGL in pyqt5, and none of them knows what they're doing. After 2 days of work I still don't know how to even render a textured quad, so I gave up. Let's do the one thing Qt is good for: use a solution implemented in Qt. QPainter seems to be exactly what we need. I don't know why we even bothered with other possible solutions. Lest I forget: this is a partial solution to Issue #9.