@ebatsin is your QQuickItem in a QQuickWindow? I guess it is the case if you are not using a QQuickWidget.

Calling QQuickWindow::openglContext() on your item's window should give you what you need.