Hi,
I try to port my application from Qt4 to Qt5 and Qwt5.2.1 to Qwt6.1.
Actually the app starts, but it takes much longer to instantiate the widgets (3s before, >70s now). The reason semms to be QwtSlider::setRange() (Qwt5.2.1) and QwtSlider::setScale() (Qwt6.1). If I comment out the setScale() in the ported app, the instantiation is as fast as it was before.
I'm using the QwtSlider with setScalePosition(QwtSlider::NoScale), so I don't expect to have lots of painting of scales, but I may be wrong there.
So my question is: how can I adjust my QwtSlider to a certain range with a stepsize as in Qwt5.2.1 using Qwt6.1 without the obvious overhead? Is it possible to switch "it" off?
Thanks and best regards,
Carsten
Bookmarks