Widget repaint is very slow
I'm developing an application on embedded linux platform i.mx 6ultralite Cortex-A7 Processor 696MHz(no OPENGL support). My application includes QCustomPlot library and I want to plot a graph with dragging support.
The problem is that dragging graph even with only 1 line is laggy to be exact it just freezes and updates at last position. How it looks in action.
I've looked at the source of library I'm using and it all comes down to void QWidget::repaint() method that takes the most time to execute. Is there a way to optimize repaint for my platform? Or use something different?