Unsolved setCursor doesnot work while mouseMove in a QOpenGLWidget which is added into QGraphicsScene as a QGraphicsProxyWidget...
-
setCursor doesnot work while mouseMove in a QOpenGLWidget which is added into QGraphicsScene as a QGraphicsProxyWidget...
setCursor works before mouse move into the scene,
but while the mouse is in the scene and setCursor in MouseMoveEvent, it does not work, until move the mouse out of the scene, and move it back into the scene again....
thnk you ! -
Hi,
Where are you calling setCursor ? Under which conditions ?
-
in mouseMoveEvent in a class inherited from QOpenGLWidget, and this it is added into QGraphicsScene as a QGraphicsProxyWidget
-
Can you show a minimal compilable example that shows this ?