Hi,
I am trying to use a QwtPlotMarker to show "the current step" in my graph with a vertical line.
I have created my marker, attached it to my graph, changed lineStyle, linePen... just like in the "bode" example.
When I run the application, it crash.. but it is quite strange.
When I create my marker, I call setValue and everything goes fine (except that the marker is not shown in the plot).
Then, I call setValue again each time my "current step" change and this is where the segfault appens.
The crash occurs just after the "itemChanged()" call in QwtPlotMarker::setValue(double, double).
To be noted that it crash only when I change the xBottomScale with setAxisScale and setAxisTitle.
Any idea ?
Bookmarks