Problem with vtkCharts in Qt

Hello,

I am using vtk7.1 in my project and all vtk functions work in my Qt application except vtkCharts.

I am trying to run the vtkCharts example form vtk examples at
https://vtk.org/Wiki/VTK/Examples/Cxx/Plotting/LinePlot the application crashes but it doesn’t with https://vtk.org/Wiki/VTK/Examples/Cxx/Utilities/ConstructTable which does npt render a plot.

I am suing QT5.9.1. compile with VS2017

I have
QT += core gui widgets charts

in my QT .pro file and all libs linked.

Any hints, what is causing the problem?

Thanks
Jothy

Do charting examples/tests work correctly on your computer? Does it work well if you use latest VTK release?