Here i develoed a custom widget to print some shape. But here my MouseRelease and MouseMove event are not working.wh t is the problem of my code. As well as some Asserts ar
In QWidget mouse tracking (when no mouse button is pressed) is not enable by default. To enable it add the following code :
painter->setMouseTracking(true);