Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. setCursor doesnot work while mouseMove in a QOpenGLWidget which is added into QGraphicsScene as a QGraphicsProxyWidget...
Forum Update on Monday, May 27th 2025

setCursor doesnot work while mouseMove in a QOpenGLWidget which is added into QGraphicsScene as a QGraphicsProxyWidget...

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 712 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    opengpu2
    wrote on last edited by
    #1

    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 !

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Where are you calling setCursor ? Under which conditions ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • O Offline
        O Offline
        opengpu2
        wrote on last edited by
        #3

        in mouseMoveEvent in a class inherited from QOpenGLWidget, and this it is added into QGraphicsScene as a QGraphicsProxyWidget

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Can you show a minimal compilable example that shows this ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved