Error message:
Cannot make QOpenGLContext current in a different thread
I think this is a Qt bug.
Upstream: https://bugreports.qt.io/browse/QTBUG-129994
see also: https://bugreports.qt.io/browse/QTBUG-60971
We might be able to make a sample program like this.