Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Can't use vtk charts in QT, "no override found for 'vtkContextDevice2D"



  • I can't use any type of vtk 2D chart in QT without getting the error: "Generic Warning: In vtkContextDevice2D.cxx, line 31 Error: no override found for 'vtkContextDevice2". There is limited discussion on this with almost all suggestions being to upgrade qt/vtk, but theses are year old and I am on the newest versions.

    Code:
    view->SetInteractor(this->qvtkWidgetRight->GetInteractor());
    this->qvtkWidgetRight->SetRenderWindow(view->GetRenderWindow());

    Info: Win64 on 64bit machine, vtk8.2.0, Qt5.13.0, compiled/built in MCVS2017(Release x64) with cmake3.15.0
    (Everything else works fine, even 3D renderings with vtk)


Log in to reply