# Problem with vtkCharts in Qt

**URL:** https://discourse.vtk.org/t/problem-with-vtkcharts-in-qt/1461
**Category:** Support
**Created:** [July 31, 2019, 12:31pm UTC](https://discourse.vtk.org/t/problem-with-vtkcharts-in-qt/1461 "2019-07-31T12:31:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Jothybasu\_Selvaraj](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jothybasu_selvaraj/32/695_2.png) [@Jothybasu\_Selvaraj](https://discourse.vtk.org/u/Jothybasu_Selvaraj)
#### Post date: [July 31, 2019, 12:31pm UTC](https://discourse.vtk.org/t/problem-with-vtkcharts-in-qt/1461/1 "2019-07-31T12:31:31Z")

</div>

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](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](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

---

<div class="post-metadata">

### Author: ![lassoan](https://discourse.vtk.org/user_avatar/discourse.vtk.org/lassoan/32/50_2.png) [@lassoan](https://discourse.vtk.org/u/lassoan)
#### Post date: [August 1, 2019, 2:12pm UTC](https://discourse.vtk.org/t/problem-with-vtkcharts-in-qt/1461/2 "2019-08-01T14:12:38Z")

</div>

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