@Pl45m4 Here is a short video of the application showing the issue:
https://github.com/letsfindaway/OpenBoard/issues/203#issuecomment-2595705681
So you see, nothing complicated. And as I already said in the beginning: when I run the same program using Qt5, then the lag is much smaller, because the repetition rate of the mouseMoveEvents is higher.
I have setMouseTracking(true), so that I get the events even when the mouse button is not pressed.
And no, there are no further actions connected to the movement as long as the mouse button is not pressed.