I wrote an application that defines user controls with QML (Qt-5.14), and displays polygonal surface data with VTK-8.2. My software uses the approach described here, extending QQuickFrameBufferObject which runs in the main thread, and QQuickFrameBufferObject::Renderer, which runs in the render thread. I need to upgrade to vtk-9, but unfortunately my application no longer displays the surface data when built with vtk-9.0. Specifically when my renderer calls vtkGenericOpenGLRendererWindow::Render(), the window’s MakeCurrent() call always fails. Why would MakeCurrent() work with vtk-8.2 but fail for vtk-9.0? I asked for help on this forum about a week ago, but haven’t received a response yet.
But perhaps I’m using the wrong approach - does VTK actually provide a working example or test case of what I am trying to do, that works with vtk-9?