How to share the same OpenGL context between multiple QQuickWindow instances ?
It seems to be default setting in Qt 5.4. The multiple QQuickWindow instances are sharing the same OpenGL context. But when upgrade to Qt 5.7, they are using different opengl context.
In Qt Document:
It states "Some implementations will share the same OpenGL context between multiple QQuickWindow instances. " But it does not mention how to guarantee this setting.
Did I misunderstanding something?
Hi! I can't say for sure but my guess is that the context will be shared on all platforms that allow that, so all desktop platforms. Maybe it's just not technically possible on e.g. Android.