Is it possible to achieve this using QWidget and Create QOpenGLContext manually and associate it with every created QWidget?
QOpenGLContext::setShareContext() won't do what you want?