PDA

View Full Version : debugging QWT



ufechner
30th August 2011, 14:12
Hi,

we are using QwtPlot und want to get a better understanding, what it is actually doing (how are the axis labels created; actually we need trailing zeros for the numbers).

We work with QT creator on Ubuntu 10.10.

How can I tell qtcreator, where to find the source code of QWT?
(It is in ~/00Software/qwt-6.0.0/src )

It only sees the header files and the .so file, therefore I cannot debug into the library.

Best regards:

Uwe Fechner

FelixB
31st August 2011, 07:44
we are using QwtPlot und want to get a better understanding, what it is actually doing (how are the axis labels created; actually we need trailing zeros for the numbers).

implement your own QwtScaleDraw and override the "virtual QwtText label (double value) const" method.

greetings
Felix